Skip to content

Commit 7c5416d

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 develop branch only. If release branches are used later on they should be added to list here. Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent 4ae675c commit 7c5416d

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 TUF tests and linter
22

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

510
jobs:
611
build:

0 commit comments

Comments
 (0)