From d45bedc6025223e67af192e23ff7bd0eda7f7486 Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Fri, 10 Jan 2025 09:53:36 -0800 Subject: [PATCH] Fix OpenAPI workflow (#53853) --- .github/workflows/sync-codeql-cli.yml | 6 ++++++ .github/workflows/sync-graphql.yml | 2 +- .github/workflows/sync-openapi.yml | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-codeql-cli.yml b/.github/workflows/sync-codeql-cli.yml index a4b3e550b0..e9698bb7ae 100644 --- a/.github/workflows/sync-codeql-cli.yml +++ b/.github/workflows/sync-codeql-cli.yml @@ -109,3 +109,9 @@ jobs: If CI does not pass or other problems arise, contact #docs-engineering on slack.' \ --repo github/docs-internal \ --label "codeql-cli-pipeline,skip FR board,ready-for-doc-review" + + - uses: ./.github/actions/slack-alert + if: ${{ failure() && github.event_name != 'workflow_dispatch' }} + with: + slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }} + slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} diff --git a/.github/workflows/sync-graphql.yml b/.github/workflows/sync-graphql.yml index 3b00847876..b0d964b8d0 100644 --- a/.github/workflows/sync-graphql.yml +++ b/.github/workflows/sync-graphql.yml @@ -1,4 +1,4 @@ -name: Update GraphQL files +name: Sync GraphQL schema # **What it does**: This updates our GraphQL schemas. # **Why we have it**: We want our GraphQL docs up to date. diff --git a/.github/workflows/sync-openapi.yml b/.github/workflows/sync-openapi.yml index 7e28c42944..339fb7eac1 100644 --- a/.github/workflows/sync-openapi.yml +++ b/.github/workflows/sync-openapi.yml @@ -101,7 +101,8 @@ jobs: If CI does not pass or other problems arise, contact #docs-engineering on slack.' \ --repo github/docs-internal \ - --label github-openapi-bot + --label github-openapi-bot \ + --head=$branchname \ - uses: ./.github/actions/slack-alert if: ${{ failure() && github.event_name != 'workflow_dispatch' }}