File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 4848 runs-on : ubuntu-latest
4949 if : github.event.workflow_run.conclusion == 'success'
5050 steps :
51+ - name : Set commit status as pending
52+ uses : myrotvorets/set-commit-status-action@v2.0.1
53+ with :
54+ sha : ${{ github.event.workflow_run.head_sha }}
55+ token : ${{ github.token }}
56+
5157 - name : Checkout repository
5258 uses : actions/checkout@v4
5359
7177 publish_dir : public/${{ steps.get-pr-number.outputs.pr_number }}
7278 destination_dir : ${{ steps.get-pr-number.outputs.pr_number }}
7379 full_commit_message : " Preview for ${{ steps.get-pr-number.outputs.pr_number != 'main' && '#' || '' }}${{ steps.get-pr-number.outputs.pr_number }} (${{ github.event.workflow_run.head_sha }}) at https://gh.cp-algorithms.com/${{ steps.get-pr-number.outputs.pr_number }}/"
80+
81+ - name : Set final commit status
82+ uses : myrotvorets/set-commit-status-action@v2.0.1
83+ if : always()
84+ with :
85+ sha : ${{ github.event.workflow_run.head_sha }}
86+ token : ${{ github.token }}
87+ status : ${{ job.status }}
You can’t perform that action at this time.
0 commit comments