Skip to content

Commit

Permalink
ci: skip Github CI on branch pushes for forks
Browse files Browse the repository at this point in the history
Similar to the previous commit, however the behavior isn't opt-in
with NO_BRANCH, because Github CI lacks custom variables.
  • Loading branch information
Sjors committed Sep 3, 2024
1 parent df2d81e commit 216354f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:
# See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push.
push:
branches:
- '**'
# Disable CI on branch pushes to forks. It will still run for pull requests.
# This prevents CI from running twice for typical pull request workflows.
- 'bitcoin/**'
- 'bitcoin-core/**'
tags-ignore:
- '**'

Expand Down

0 comments on commit 216354f

Please sign in to comment.