Skip to content

Commit 3d087e4

Browse files
committed
ci: Try another way of disabling dual ci runs
1 parent f07f207 commit 3d087e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/run-tests-and-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches: # Made towards the following
66
- main
77
- dev*
8-
branches-ignore: # Exclude these source branches to avoid duplicate runs
9-
- ci/*
108
types: # Only on the following activity
119
- opened
1210
- synchronize # Changes to the branch like new commits, ammends, etc.
@@ -26,6 +24,8 @@ jobs:
2624
runs-on: [ubuntu-latest]
2725
needs: []
2826
timeout-minutes: 10
27+
# Skip push events on ci/* branches (let pull_request handle them to avoid duplicates)
28+
if: github.event_name != 'push' || !startsWith(github.ref, 'refs/heads/ci/')
2929
env:
3030
LL_USE_STAGE: false
3131
strategy:

0 commit comments

Comments
 (0)