diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab9704c0af0ff1..27b468612fa6c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: - '**'