Update PATs to new format (#38179)
This commit is contained in:
8
.github/workflows/sync-codeql-cli.yml
vendored
8
.github/workflows/sync-codeql-cli.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
||||
with:
|
||||
# By default, only the most recent commit of the `main` branch
|
||||
# will be checked out
|
||||
token: ${{ secrets.DOCS_BOT_FR }}
|
||||
token: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
|
||||
repository: github/semmle-code
|
||||
path: semmle-code
|
||||
ref: ${{ github.event.inputs.SOURCE_BRANCH }}
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
- name: Create pull request
|
||||
env:
|
||||
# Needed for gh
|
||||
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
|
||||
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||
run: |
|
||||
# If nothing to commit, exit now. It's fine. No orphans.
|
||||
changes=$(git diff --name-only | wc -l)
|
||||
@@ -90,8 +90,8 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
|
||||
git config --global user.name "docubot"
|
||||
git config --global user.email "67483024+docubot@users.noreply.github.com"
|
||||
git config --global user.name "docs-bot"
|
||||
git config --global user.email "77750099+docs-bot@users.noreply.github.com"
|
||||
|
||||
branchname=codeql-cli-update-${{ steps.semmle-code.outputs.OPENAPI_COMMIT_SHA }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user