1
0
mirror of synced 2025-12-26 05:02:55 -05:00

Update PATs to new format (#38179)

This commit is contained in:
Kevin Heis
2023-06-26 07:14:01 -07:00
committed by GitHub
parent 6306828c56
commit 46e84b3ee4
41 changed files with 87 additions and 87 deletions

View File

@@ -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 }}