Skip to content

Commit 07ab2a6

Browse files
author
Jussi Kukkonen
committed
CI: Limit build-on-push to develop branch only
Dependabot pushes to main repository and ends up triggering two builds every time (one for PR, one for push): limit the rule for build-on-push to apply to master branch only. If release branches are used later on they should be added to list here.
1 parent 2397007 commit 07ab2a6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Run Securesystemslib tests
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
49

510
jobs:
611
build:

0 commit comments

Comments
 (0)