Skip to content

Commit

Permalink
Have GitHub Actions only run on master branch pushes (#379)
Browse files Browse the repository at this point in the history
Have GitHub Actions only run on `master` branch pushes so that we don't
get doubled up runs with every pull request, which is quite irking.

The downside is that this will cause CI not to run for branches which
are pushed and which don't have a pull request.
  • Loading branch information
brandur authored Dec 15, 2024
1 parent 0992fde commit e49581a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ env:
on:
pull_request:
push:
branches:
- master
schedule:
# Once a week on Tuesday.
- cron: "0 0 * * TUE"
Expand Down

0 comments on commit e49581a

Please sign in to comment.