Skip to content

Commit e645eda

Browse files
authored
Add troubleshooting section to Readme
Related to issue #7
1 parent 29e63a4 commit e645eda

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,17 @@ Please note: The parsed report file will also be committed and pushed if it chan
4141
If you do not enable **push_badge** you'll need extra steps in your workflow to commit and push the file into the repository.
4242
Please have a look at the inputs for all configuration options.
4343

44+
# Troubleshooting
45+
46+
## Commit by action triggers another action run
47+
As reported by [MikeDevresse](https://github.com/MikeDevresse) in [this issue](https://github.com/timkrase/phpunit-coverage-badge/issues/7), it might be possible that the commit by the Github action triggers a subsequent action run. Adding a specific tag to the actions github action and then checking for the existance of this tag can be used as a workaround (example is a slightly modified version of the one given by MikeDevresse in the issue):
48+
```
49+
jobs:
50+
build:
51+
runs-on: ubuntu-latest
52+
if: "!contains(github.event.head_commit.message, '[ci]')"
53+
```
54+
4455
# Inputs
4556

4657
Paths are always relative to the root of your repository.

0 commit comments

Comments
 (0)