Skip to content

Commit d45bedc

Browse files
authored
Fix OpenAPI workflow (#53853)
1 parent 0c09084 commit d45bedc

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/sync-codeql-cli.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,9 @@ jobs:
109109
If CI does not pass or other problems arise, contact #docs-engineering on slack.' \
110110
--repo github/docs-internal \
111111
--label "codeql-cli-pipeline,skip FR board,ready-for-doc-review"
112+
113+
- uses: ./.github/actions/slack-alert
114+
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
115+
with:
116+
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
117+
slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}

.github/workflows/sync-graphql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update GraphQL files
1+
name: Sync GraphQL schema
22

33
# **What it does**: This updates our GraphQL schemas.
44
# **Why we have it**: We want our GraphQL docs up to date.

.github/workflows/sync-openapi.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ jobs:
101101
102102
If CI does not pass or other problems arise, contact #docs-engineering on slack.' \
103103
--repo github/docs-internal \
104-
--label github-openapi-bot
104+
--label github-openapi-bot \
105+
--head=$branchname \
105106
106107
- uses: ./.github/actions/slack-alert
107108
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}

0 commit comments

Comments
 (0)