diff --git a/.github/workflows/bump_templates.yaml b/.github/workflows/bump_templates.yaml index 16bb248bb..721855ede 100644 --- a/.github/workflows/bump_templates.yaml +++ b/.github/workflows/bump_templates.yaml @@ -22,20 +22,13 @@ jobs: - name: Bump templates run: tool/generate_bundles.sh - - name: Config Git User - run: | - git config user.name VGV Bot - git config user.email vgvbot@users.noreply.github.com - - name: Create Pull Request uses: peter-evans/create-pull-request@v7.0.8 with: + token: ${{ secrets.VGV_BOT_PAT }} base: main branch: feat/bump-template-bundles commit-message: "feat: bump template bundles" title: "feat: bump template bundles" body: Please squash and merge me! labels: bot - author: VGV Bot - assignees: vgvbot - committer: VGV Bot diff --git a/.github/workflows/spdx_license_bot.yaml b/.github/workflows/spdx_license_bot.yaml index ff2606242..1280101ce 100644 --- a/.github/workflows/spdx_license_bot.yaml +++ b/.github/workflows/spdx_license_bot.yaml @@ -37,12 +37,6 @@ jobs: id: make run: if [[ $(mason make spdx_license -q --licenses "[]" -o test --on-conflict overwrite --set-exit-if-changed) =~ "0 files changed" ]]; then echo "did_change=false"; else echo "did_change=true"; fi >> $GITHUB_ENV - - name: 🔑 Config Git User - if: ${{ env.did_change == 'true' }} - run: | - git config user.name VGV Bot - git config user.email vgvbot@users.noreply.github.com - - name: 🧱 Mason Make (lib/pub_license/spdx_license) if: ${{ env.did_change == 'true' }} run: | @@ -55,12 +49,10 @@ jobs: if: ${{ env.did_change == 'true' }} uses: peter-evans/create-pull-request@v7.0.8 with: + token: ${{ secrets.VGV_BOT_PAT }} base: main branch: chore/update-spdx-license commit-message: "chore: update SPDX licenses" title: "chore: update SPDX licenses" body: Please squash and merge me! labels: bot - author: VGV Bot - assignees: vgvbot - committer: VGV Bot