-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Prevent CI workflows on bot commits and README updates
- Loading branch information
1 parent
4518350
commit 591a7fc
Showing
4 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ on: | |
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'README.md' | ||
pull_request: | ||
branches: | ||
- master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
- v* | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'README.md' | ||
pull_request: | ||
permissions: | ||
contents: read | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
- v* | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'README.md' | ||
pull_request: | ||
permissions: | ||
contents: write | ||
|
@@ -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' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
- v* | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'README.md' | ||
pull_request: | ||
permissions: | ||
contents: read | ||
|