File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 8888 shell : bash
8989 run : |
9090 gh pr comment "${{ steps.check_pr.outputs.pr_or_branch }}" -b "${{ github.workflow }} workflow launched on this PR: [View run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
91- env:
92- GH_TOKEN: ${{ inputs.gh-token }}
91+ env :
92+ GH_TOKEN : ${{ inputs.gh-token }}
9393
9494 - name : Fetch and checkout PR
9595 if : steps.check_pr.outputs.is_pr == 'true'
@@ -193,17 +193,17 @@ runs:
193193 shell : bash
194194 run : |
195195 gh pr comment "${{ steps.check_pr.outputs.pr_or_branch }}" -b "e2e workflow failed on this PR: [View run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}), please investigate."
196- env:
197- GH_TOKEN: ${{ inputs.gh-token }}
196+ env :
197+ GH_TOKEN : ${{ inputs.gh-token }}
198198
199199 - name : Add comment to PR if the workflow succeeded
200200 if : success() && steps.check_pr.outputs.is_pr == 'true'
201201 working-directory : ./training
202202 shell : bash
203203 run : |
204204 gh pr comment "${{ steps.check_pr.outputs.pr_or_branch }}" -b "e2e workflow succeeded on this PR: [View run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}), congrats!"
205- env:
206- GH_TOKEN: ${{ inputs.gh-token }}
205+ env :
206+ GH_TOKEN : ${{ inputs.gh-token }}
207207
208208 - name : Send Discord notification for failure
209209 if : failure() && steps.check_pr.outputs.is_pr == 'false'
You can’t perform that action at this time.
0 commit comments