Skip to content

Commit

Permalink
ci: add concurrency group for PR Allure report publishing
Browse files Browse the repository at this point in the history
Also fix permissions for report deletion.
  • Loading branch information
stempler committed Aug 21, 2024
1 parent bcbbba6 commit f47f07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
runs-on: ubuntu-latest
if: always() # even if tests fail
needs: check
concurrency:
group: allure-${{ github.ref }}

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/delete-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
jobs:
delete-allure:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: allure-${{ github.ref }}

steps:
- name: Checkout
Expand Down

0 comments on commit f47f07b

Please sign in to comment.