Skip to content

Commit

Permalink
Merge pull request #185 from con/limit-ci
Browse files Browse the repository at this point in the history
Don't do GitHub CI "push" runs on non-default branches
  • Loading branch information
jwodder committed Nov 9, 2023
2 parents ede2bc8 + 90d97a9 commit 1e79d32
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches: [master]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
codespell:
name: Check for spelling errors
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/inception-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Test fetching tinuous' logs
on:
pull_request:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
test:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Test
on:
pull_request:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
test:
Expand Down

0 comments on commit 1e79d32

Please sign in to comment.