Skip to content

Commit

Permalink
🤖 config(ci): Only run GHA workflows once on PRs.
Browse files Browse the repository at this point in the history
These changes were automatically generated by a transform whose code can be found at:
  - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/31b7e48f29789fa2e2ad9e16013ff277c3bbca57/src/transforms/ci:only-run-gha-once-on-prs.js
Please contact the author of the transform if you believe there was an error.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Mar 1, 2024
1 parent 9759f19 commit 8061f4d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: ci

on:
- push
- pull_request
push:
branches:
main
pull_request:

jobs:

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci:cover.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: ci:cover
on:
- push
- pull_request
push:
branches:
main
pull_request:
jobs:
cover:
name: Continuous integration (code coverage)
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci:lint-config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: ci:lint-config
on:
- push
- pull_request
push:
branches:
main
pull_request:
jobs:
cover:
name: Continuous integration (config linting)
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci:lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: ci:lint
on:
- push
- pull_request
push:
branches:
main
pull_request:
jobs:
cover:
name: Continuous integration (code linting)
Expand Down

0 comments on commit 8061f4d

Please sign in to comment.