Skip to content

Commit a2a3100

Browse files
authored
Use BOT_TOKEN for checkout in auto-update-translator-cid (#2455)
Fixes #2427.
1 parent a51cf2c commit a2a3100

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/auto-update-translator-cid.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
27+
token: ${{ secrets.BOT_TOKEN }}
2728

2829
# search the opened PR that has branch "bot/update_translator_cid", no new PR as long as the target PR is open
2930
- name: Search the opened PR that has branch ${{ env.PR_BRANCH }}
@@ -98,8 +99,8 @@ jobs:
9899
env:
99100
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
100101
run: |
101-
git config --global user.name 'github-actions[bot]'
102-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
102+
git config --global user.name 'glados-intel'
103+
git config --global user.email 'glados@intel.com'
103104
104105
if git show-ref --verify --quiet "refs/remotes/origin/${PR_BRANCH}"; then
105106
echo "${PR_BRANCH} already exist, deleting..."

0 commit comments

Comments
 (0)