Skip to content

Commit 5fab7b8

Browse files
committed
Use pending as initial status
1 parent 3a810f4 commit 5fab7b8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/actions/set-commit-status/action.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ inputs:
1111
context:
1212
description: 'The context for the status check'
1313
default: '${{ github.workflow }} / ${{ github.job }} (${{ github.event.workflow_run.event }})'
14-
description:
15-
description: 'A short description of the status'
16-
default: ${{ job.status }}
1714
token:
1815
description: 'GitHub token'
1916
default: ${{ github.token }}
@@ -27,4 +24,4 @@ runs:
2724
token: ${{ inputs.token }}
2825
status: ${{ inputs.status }}
2926
context: ${{ inputs.context }}
30-
description: ${{ inputs.description }}
27+
description: ${{ inputs.status }}

.github/workflows/deploy-prod.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: ./.github/actions/set-commit-status
1919
with:
2020
sha: ${{ github.event.workflow_run.head_sha }}
21+
status: pending
2122

2223
- name: Download pages
2324
uses: actions/download-artifact@v4
@@ -66,6 +67,7 @@ jobs:
6667
uses: ./.github/actions/set-commit-status
6768
with:
6869
sha: ${{ github.event.workflow_run.head_sha }}
70+
status: pending
6971

7072
- name: Download pages
7173
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)