Skip to content

Commit e1f761a

Browse files
heiskrCopilot
andauthored
Use DOCS_BOT_PAT_BASE instead of sitepolicy specific token (#61322)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 2876079 commit e1f761a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/site-policy-reminder.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9
23-
env:
24-
GITHUB_TOKEN: ${{ secrets.API_TOKEN_SITEPOLICY }}
2523
with:
24+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
2625
issue-number: ${{ github.event.pull_request.number }}
2726
body: |
2827
Before merging, please remember to change the title of this PR to a description of its changes that is suitable for public viewing on github/site-policy.

.github/workflows/site-policy-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3434
with:
3535
repository: github/site-policy
36-
token: ${{ secrets.API_TOKEN_SITEPOLICY }}
36+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
3737
fetch-depth: ''
3838
path: public-repo
3939

0 commit comments

Comments
 (0)