From 58d2f6f4e2a0474966fdd937cbe4ec75ee6c1ae6 Mon Sep 17 00:00:00 2001 From: Ramya Parimi Date: Wed, 29 Sep 2021 20:21:56 -0500 Subject: [PATCH] graphql update workflow --- .github/workflows/copy-api-issue-to-internal.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/copy-api-issue-to-internal.yml b/.github/workflows/copy-api-issue-to-internal.yml index 67b280216bd5..f7cd49066650 100644 --- a/.github/workflows/copy-api-issue-to-internal.yml +++ b/.github/workflows/copy-api-issue-to-internal.yml @@ -13,7 +13,7 @@ jobs: transfer-issue: name: Transfer issue runs-on: ubuntu-latest - if: github.event.label.name == 'rest-description' && github.repository == 'github/docs' + if: (github.event.label.name == 'rest-description' || github.event.label.name == 'graphql-description') && github.repository == 'github/docs' steps: - name: Check if this run was triggered by a member of the docs team uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d @@ -57,7 +57,7 @@ jobs: OLD_ISSUE: ${{ github.event.issue.html_url }} - name: Comment on the old issue - run: gh issue comment $OLD_ISSUE --body "Thank you for opening this issue! Updates to the REST API description must be made internally. I have copied your issue to an internal issue, so I will close this issue." + run: gh issue comment $OLD_ISSUE --body "Thank you for opening this issue! Updates to the REST/GraphQL API description must be made internally. I have copied your issue to an internal issue, so I will close this issue." env: GITHUB_TOKEN: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}} OLD_ISSUE: ${{ github.event.issue.html_url }}