Skip to content

Commit

Permalink
github: fix the repo-token option for mshick/add-pr-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k committed Nov 8, 2024
1 parent 8d36265 commit 5ed6d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-osbuild-composer-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ jobs:
steps:
- name: Add comment (breakage)
uses: mshick/add-pr-comment@v2
repo-token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}
if: needs.unit-tests.outputs.base_test == 1 && needs.unit-tests.outputs.pr_test == 0
with:
repo-token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}
issue: ${{ github.event.pull_request.number }}
message: |
This PR changes the images API or behaviour causing integration failures with osbuild-composer. The next update of the images dependency in osbuild-composer will need work to adapt to these changes.
Expand All @@ -151,9 +151,9 @@ jobs:
- name: Update comment (fixed)
uses: mshick/add-pr-comment@v2
repo-token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}
if: needs.unit-tests.outputs.pr_test == 1
with:
repo-token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}
update-only: true # don't write a message if there isn't one already
issue: ${{ github.event.pull_request.number }}
message: |
Expand Down

0 comments on commit 5ed6d4e

Please sign in to comment.