Skip to content

Commit

Permalink
Publishing is now done via service account (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeWaka authored Aug 12, 2024
1 parent 6c94c72 commit c8d63d1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.ROBUDDYBOT_PAT }}

- uses: pnpm/action-setup@v4

Expand Down Expand Up @@ -46,15 +48,15 @@ jobs:

- name: Commit changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "robuddybot"
git config --global user.email "65057909+robuddybot@users.noreply.github.com"
git add .
git commit -m "Build & Release ${{ github.event.release.tag_name }}" || echo "No changes to commit"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.ROBUDDYBOT_PAT }}

- name: Get new Git SHA
id: get_sha
Expand Down

0 comments on commit c8d63d1

Please sign in to comment.