Skip to content

Commit

Permalink
CI: Run on PRs and merges to main
Browse files Browse the repository at this point in the history
This is a best practice from the Vox Pupuli community. It ensures that
the pipeline runs for all PRs. Because PRs can be outdated before a
merge, the pipeline will run again after the merge.

Maybe you want to adopt this pattern.
  • Loading branch information
bastelfreak authored and jesopo committed Nov 19, 2023
1 parent a41a18a commit 7ee483f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: CI

on:
pull_request:
pull_request: {}
push:
branches:
- main

jobs:
test:
Expand Down

0 comments on commit 7ee483f

Please sign in to comment.