Skip to content

Commit

Permalink
Use automation user to commit built vue files to ensure other actions…
Browse files Browse the repository at this point in the history
… are triggered (#22711)
  • Loading branch information
sgiehl authored Oct 24, 2024
1 parent cf5d689 commit 2b01437
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/buildvue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,16 @@ jobs:
run: |
cat <<- EOF > $HOME/.netrc
machine github.com
login $GITHUB_ACTOR
password $GITHUB_TOKEN
login innocraft-automation
password $CUSTOM_ACCESS_TOKEN
machine api.github.com
login $GITHUB_ACTOR
password $GITHUB_TOKEN
login innocraft-automation
password $CUSTOM_ACCESS_TOKEN
EOF
chmod 600 $HOME/.netrc
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
git config --global user.name "$GITHUB_ACTOR"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git config --global user.email "innocraft-automation@users.noreply.github.com"
git config --global user.name "innocraft-automation"
git remote set-url origin https://x-access-token:${{ secrets.CUSTOM_ACCESS_TOKEN }}@github.com/$GITHUB_REPOSITORY
if [[ ${{ steps.vars.outputs.islocalbranch }} ]]
then
git fetch --depth=1 origin $BRANCH_NAME
Expand Down

0 comments on commit 2b01437

Please sign in to comment.