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/b27ce6d333a4c46ff5161eaddfbe16895bbabf0f/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 3, 2024
1 parent 1076845 commit c09e113
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 c09e113

Please sign in to comment.