diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index a63d6f886..b406f0e96 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -134,7 +134,7 @@ jobs: repository: ${{ github.event.client_payload.github.payload.repository.full_name }} comment-id: ${{ github.event.client_payload.github.payload.comment.id }} body: | - > run [${{ github.run_id }}/$GITHUB_JOB](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) success :heavy_check_mark: + > run [${{ github.run_id }}/${{ env.GITHUB_JOB }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) success :heavy_check_mark: reactions: hooray - if: failure() && github.event_name == 'repository_dispatch' uses: peter-evans/create-or-update-comment@v4 @@ -143,7 +143,7 @@ jobs: repository: ${{ github.event.client_payload.github.payload.repository.full_name }} comment-id: ${{ github.event.client_payload.github.payload.comment.id }} body: | - > run [${{ github.run_id }}/$GITHUB_JOB](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) failed :x: + > run [${{ github.run_id }}/${{ env.GITHUB_JOB }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) failed :x: reactions: confused publish-snapi-parser: @@ -224,7 +224,7 @@ jobs: repository: ${{ github.event.client_payload.github.payload.repository.full_name }} comment-id: ${{ github.event.client_payload.github.payload.comment.id }} body: | - > run [${{ github.run_id }}/$GITHUB_JOB](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) success :heavy_check_mark: + > run [${{ github.run_id }}/${{ env.GITHUB_JOB }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) success :heavy_check_mark: reactions: hooray - if: failure() && github.event_name == 'repository_dispatch' uses: peter-evans/create-or-update-comment@v4 @@ -233,5 +233,5 @@ jobs: repository: ${{ github.event.client_payload.github.payload.repository.full_name }} comment-id: ${{ github.event.client_payload.github.payload.comment.id }} body: | - > run [${{ github.run_id }}/$GITHUB_JOB](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) failed :x: + > run [${{ github.run_id }}/${{ env.GITHUB_JOB }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) failed :x: reactions: confused