Skip to content

Commit 28a1d7d

Browse files
committed
update user for Actions workflow
1 parent 3279dec commit 28a1d7d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/process-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ jobs:
2222
if [[ "$(git diff --exit-code ./pipelines/pipelines_index.json)" =~ 'diff' ]]; then echo "IS_VALID=true" >> $GITHUB_ENV; else echo "IS_VALID=false" >> $GITHUB_ENV ;fi
2323
- if: ${{ env.IS_VALID == 'true' }}
2424
run: |
25-
git config --local user.email "action@github.com"
26-
git config --local user.name "GitHub Action"
25+
git config --global user.email "vb-bot@google.com"
26+
git config --global user.name "vb-bot"
2727
git add .
2828
git commit -m "Update pipelines_index.json"
2929
git push
3030
gh pr create -B main --title 'Update pipelines_index.json' --body 'Update pipelines index'
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
3133

0 commit comments

Comments
 (0)