Skip to content

Commit

Permalink
relogin github-actions[bot]
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetal-purple committed Jan 3, 2024
1 parent c6932a8 commit d6778b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
git config --local user.name "github-actions[bot]"
git add --force .
git commit -m "add contents of dist-files v${{ env.SPEC_VERSION }}"
echo "${{ env.GITHUB_TOKEN }}" > token.txt
# Authorize GitHub CLI for the current repository and
# create a pull-requests containing the updates.
gh auth login --with-token < token.txt
git tag -a v${{ env.SPEC_VERSION }} -m "Update v${{ env.SPEC_VERSION }}"
git push origin master --follow-tags --force
env:
Expand Down

0 comments on commit d6778b7

Please sign in to comment.