Skip to content

Commit

Permalink
Do not run continuous integration on main branch
Browse files Browse the repository at this point in the history
If a commit is added to the main branch, it should have already run
through the continuous integration pipeline, either on the integration
branch, or via manual trigger in the GitHub UI.

This way we're not running the continuous integration pipeline **both**
before and after a commit is added to the main branch. Only before.
  • Loading branch information
paulshryock committed Jul 11, 2024
1 parent 16ab9df commit d758699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
branches: [main]
push:
branches: [main, integration]
branches-ignore: [main]

jobs:
continuous_integration:
Expand Down

0 comments on commit d758699

Please sign in to comment.