Skip to content

Commit

Permalink
Make CI only run once on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
benefacto committed Dec 30, 2023
1 parent 331c4b4 commit d1f6d4d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: continuous-integration

on: [push, pull_request]
on:
push:
branches-ignore:
- '**/pull/**' # Ignores branches that are created for pull requests
pull_request:
branches:
- '**' # Runs for pull requests targeting any branch

jobs:
CI:
Expand Down

0 comments on commit d1f6d4d

Please sign in to comment.