Skip to content

Commit

Permalink
Revert "Update confirm-internal-staff-work-in-docs.yml (#20095)"
Browse files Browse the repository at this point in the history
This reverts commit 1ccb74d.
  • Loading branch information
chiedo committed Jun 23, 2021
1 parent 12d6fd7 commit 2c1d24b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/confirm-internal-staff-work-in-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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'],
Expand Down

0 comments on commit 2c1d24b

Please sign in to comment.