Skip to content

Commit

Permalink
ci: Prevent CI workflows on bot commits and README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpolygon committed Oct 11, 2024
1 parent 4518350 commit 591a7fc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- master
paths-ignore:
- 'README.md'
pull_request:
branches:
- master
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- v*
branches:
- master
paths-ignore:
- 'README.md'
pull_request:
permissions:
contents: read
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- v*
branches:
- master
paths-ignore:
- 'README.md'
pull_request:
permissions:
contents: write
Expand Down Expand Up @@ -40,7 +42,7 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "chore: Updated coverage badge."
git commit -m "chore: Updated coverage badge. [skip ci]"
git fetch origin && git rebase origin/master
- name: push-changes
if: steps.verify-changed-files.outputs.files_changed == 'true'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- v*
branches:
- master
paths-ignore:
- 'README.md'
pull_request:
permissions:
contents: read
Expand Down

0 comments on commit 591a7fc

Please sign in to comment.