Skip to content

Commit 89c9544

Browse files
authored
Feature/consume new pr action (#790)
* consume new pr status action * consume new pr status action
1 parent 70057ff commit 89c9544

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build-&-publish-docker-image.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,16 @@ jobs:
120120
github-token: ${{ github.token }}
121121

122122
- name: "Set PR status as pending"
123-
uses: niteoweb/pull_request_status_action@v1.0.0
123+
uses: 0chain/actions/set-pr-status@master
124124
if: steps.findPr.outputs.number
125125
with:
126126
pr_number: ${{ steps.findPr.outputs.pr }}
127127
description: "System tests running with default config..."
128128
state: "pending"
129129
repository: ${{ github.repository }}
130-
context: "0Chain System Tests"
130+
status_name: "0Chain System Tests"
131131
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
132-
env:
133-
GITHUB_TOKEN: ${{ github.token }}
132+
github_token: ${{ github.token }}
134133

135134
- name: "Setup"
136135
run: |
@@ -180,13 +179,12 @@ jobs:
180179

181180
- name: "Set PR status as ${{ job.status }}"
182181
if: ${{ (success() || failure()) && steps.findPr.outputs.number }}
183-
uses: niteoweb/pull_request_status_action@v1.0.0
182+
uses: 0chain/actions/set-pr-status@master
184183
with:
185184
pr_number: ${{ steps.findPr.outputs.pr }}
186185
description: "System tests with default config ${{ job.status }}"
187186
state: ${{ job.status }}
188187
repository: ${{ github.repository }}
189-
context: "0Chain System Tests"
188+
status_name: "0Chain System Tests"
190189
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
191-
env:
192-
GITHUB_TOKEN: ${{ github.token }}
190+
github_token: ${{ github.token }}

0 commit comments

Comments
 (0)