Skip to content

Commit

Permalink
Merge pull request #27 from bogdanalexe90/patch-2
Browse files Browse the repository at this point in the history
Update pr_job_comment.yml
  • Loading branch information
aesqe authored Sep 9, 2021
2 parents 92add1e + a2344ea commit 1f7721a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr_job_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
pr_number: ${{ github.event.issue.number }}
state: pending
repository: ${{ github.repository }}
context: 'test / Build image (pull_request)'
context: 'PR Comments / Trigger PR Workflow'
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

- id: prData
Expand All @@ -48,7 +48,7 @@ jobs:
workflow: test
token: ${{ secrets.DEV_TOKEN }}
ref: ${{ steps.prData.outputs.ref }}
inputs: '{"prRef": "${{ steps.prData.outputs.ref }}", "prNumber": "${{ github.event.issue.number }}", "sha": "${{ github.sha }}"}'
inputs: '{"prRef": "${{ steps.prData.outputs.ref }}", "prNumber": "${{ github.event.issue.number }}", "sha": "${{ steps.prData.outputs.sha }}"}'

- name: Set success or failure status
uses: niteoweb/[email protected]
Expand All @@ -57,7 +57,7 @@ jobs:
pr_number: ${{ github.event.issue.number }}
state: ${{ job.status }}
repository: ${{ github.repository }}
context: 'test / Build image (pull_request)'
context: 'PR Comments / Trigger PR Workflow'
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

- name: Set error status
Expand All @@ -67,5 +67,5 @@ jobs:
pr_number: ${{ github.event.issue.number }}
state: error
repository: ${{ github.repository }}
context: 'test / Build image (pull_request)'
context: 'PR Comments / Trigger PR Workflow'
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 comments on commit 1f7721a

Please sign in to comment.