diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 8ec622c191..3690141479 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -20,7 +20,7 @@ jobs: - name: Show warning if permission is denied if: | !(github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') - && (!contains(github.event.issue.labels.*.name, 'safe-to-test') || github.event.issue.user.name == github.event.comment.user.name) + && (!contains(github.event.issue.labels.*.name, 'safe-to-test') || github.event.issue.user.name != github.event.comment.user.name) uses: thollander/actions-comment-pull-request@v2 with: message: |- @@ -29,7 +29,7 @@ jobs: - name: Fail if command permission is denied if: | !(github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') - && (!contains(github.event.issue.labels.*.name, 'safe-to-test') || github.event.issue.user.name == github.event.comment.user.name) + && (!contains(github.event.issue.labels.*.name, 'safe-to-test') || github.event.issue.user.name != github.event.comment.user.name) run: exit 1 - name: React to comment uses: actions/github-script@v4 @@ -95,7 +95,7 @@ jobs: arm64_image: ${{ steps.arm64_image.outputs.image }} needs: [build-and-test, checkout-branch] env: - head_sha: ${{ needs.checkout-branch.outputs.PR_head_sha}} + head_sha: ${{ needs.checkout-branch.outputs.PR_head_sha }} steps: - uses: actions/download-artifact@v3 with: @@ -135,8 +135,8 @@ jobs: with: csvinput: | ARCH, IMAGE - AMD64, ${{ env.amd64_image }} - ARM64, ${{ env.arm64_image }} + amd64, ${{ env.amd64_image }} + arm64, ${{ env.arm64_image }} - uses: thollander/actions-comment-pull-request@v2 with: message: |-