Skip to content

Commit

Permalink
ci(build): add comment flag and checks write permission
Browse files Browse the repository at this point in the history
- grant checks write permission for `mikepenz/action-junit-report`
- enable comment flag it

Signed-off-by: Art Shendrik <[email protected]>
  • Loading branch information
amal committed Nov 26, 2024
1 parent 021a924 commit f26753e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ permissions:
# issues to post a comment to a pull request.
pull-requests: write
issues: write
# for the `mikepenz/action-junit-report` action
checks: write

env:
CI: true
Expand Down Expand Up @@ -156,6 +158,7 @@ jobs:
if: (success() || failure()) && matrix.os == 'macos' && env.IS_DEFAULT_REPO && env.IS_DEFAULT_BRANCH
uses: mikepenz/action-junit-report@v5
with:
comment: true
report_paths: '**/build/test-results/*/TEST-*.xml'

- name: Publish SNAPSHOT
Expand Down

0 comments on commit f26753e

Please sign in to comment.