diff --git a/.github/workflows/copy-api-issue-to-internal.yml b/.github/workflows/copy-api-issue-to-internal.yml index 1804a57b532c..3f321ef70b1d 100644 --- a/.github/workflows/copy-api-issue-to-internal.yml +++ b/.github/workflows/copy-api-issue-to-internal.yml @@ -16,7 +16,7 @@ jobs: transfer-issue: name: Transfer issue runs-on: ubuntu-latest - if: (github.event.label.name == 'rest-description' || github.event.label.name == 'graphql-description' || github.event.label.name == 'webhook-description') && github.repository == 'github/docs' + if: github.event.label.name == 'fix-internally' && github.repository == 'github/docs' steps: - name: Check if this run was triggered by a member of the docs team uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 @@ -53,7 +53,7 @@ jobs: ISSUE_BODY: ${{ github.event.issue.body }} - name: Comment on the old issue - run: gh issue comment $OLD_ISSUE --body "Thank you for opening this issue! Updates to the REST API, GraphQL API, and webhook reference documentation 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 this documentation must be made internally. I have copied your issue to an internal issue, so I will close this issue." env: GITHUB_TOKEN: ${{secrets.DOCS_BOT_PAT_WORKFLOW_READORG}} OLD_ISSUE: ${{ github.event.issue.html_url }}