Skip to content

Commit

Permalink
ci: only create Allure report for failing PRs [skip ci]
Browse files Browse the repository at this point in the history
...that are not created by Renovate. This is to avoid unneccessary
changes added to the git history.
  • Loading branch information
stempler committed Aug 22, 2024
1 parent 8c32399 commit 77de03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
allure:
# https://allurereport.org/docs/integrations-github/
runs-on: ubuntu-latest
if: always() # even if tests fail
if: ${{ failure() && !startsWith(github.head_ref, 'renovate/') }} # only if tests fail, but not for renovate changes
needs: check
concurrency:
group: allure-${{ github.ref }}
Expand Down

0 comments on commit 77de03b

Please sign in to comment.