Skip to content

Commit 54bc9da

Browse files
authored
ci: add override for github-ui / vrt (#7303)
1 parent 19730fb commit 54bc9da

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/status-checks.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
-f context='github-ui / projects' \
5757
-f description='Skipped' \
5858
-f target_url="$TARGET_URL"
59+
60+
gh api -X POST "/repos/primer/react/statuses/$SHA" \
61+
-f state='success' \
62+
-f context='github-ui / vrt' \
63+
-f description='Skipped' \
64+
-f target_url="$TARGET_URL"
5965
env:
6066
GH_TOKEN: ${{ steps.generate_primer_token.outputs.token }}
6167
PR_NUMBER: ${{ github.event.pull_request.number }}
@@ -74,6 +80,11 @@ jobs:
7480
-f state='success' \
7581
-f context='github-ui / projects' \
7682
-f description='Skipped'
83+
84+
gh api -X POST "/repos/primer/react/statuses/${{ github.event.merge_group.head_sha }}" \
85+
-f state='success' \
86+
-f context='github-ui / vrt' \
87+
-f description='Skipped'
7788
env:
7889
GH_TOKEN: ${{ steps.generate_primer_token.outputs.token }}
7990

@@ -108,6 +119,12 @@ jobs:
108119
-f context='github-ui / projects' \
109120
-f description='Manual override' \
110121
-f target_url="$COMMENT_URL"
122+
123+
gh api -X POST "/repos/primer/react/statuses/$SHA" \
124+
-f state='success' \
125+
-f context='github-ui / vrt' \
126+
-f description='Manual override' \
127+
-f target_url="$COMMENT_URL"
111128
env:
112129
COMMENT_URL: ${{ github.event.comment.html_url }}
113130
GH_TOKEN: ${{ steps.generate_primer_token.outputs.token }}

0 commit comments

Comments
 (0)