From 2c1d24b0baccafc6cb839a6b3dd4ca137d932ece Mon Sep 17 00:00:00 2001 From: chiedo Date: Wed, 23 Jun 2021 11:28:28 -0400 Subject: [PATCH] Revert "Update confirm-internal-staff-work-in-docs.yml (#20095)" This reverts commit 1ccb74d632128cab5bfcfa3cc032e1ee91ba5769. --- .github/workflows/confirm-internal-staff-work-in-docs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/confirm-internal-staff-work-in-docs.yml b/.github/workflows/confirm-internal-staff-work-in-docs.yml index 4158054c06..e07b5348fe 100644 --- a/.github/workflows/confirm-internal-staff-work-in-docs.yml +++ b/.github/workflows/confirm-internal-staff-work-in-docs.yml @@ -21,6 +21,8 @@ jobs: steps: - id: membership_check uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d + env: + TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }} with: github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} script: | @@ -59,7 +61,7 @@ jobs: // Create an issue in our private repo await github.issues.create({ owner: 'github', - repo: 'docs-internal', + repo: process.env.TEAM_CONTENT_REPO, title: `@${context.payload.sender.login} confirm that \#${issueNo} should be in the public github/docs repo`, body: `@${context.payload.sender.login} opened https://github.com/github/docs/issues/${issueNo} publicly in the github/docs repo, instead of the private github/docs-internal repo.\n\n@${context.payload.sender.login}, please confirm that this belongs in the public repo and that no sensitive information was disclosed by commenting below and closing the issue.\n\nIf this was not intentional and sensitive information was shared, please delete https://github.com/github/docs/issues/${issueNo} and notify us in the \#docs-open-source channel.\n\nThanks!`, labels: ['OS confirmation'],