From 6f14948d975dbdd081fb498d00710a6241b0164c Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Sat, 16 Nov 2024 13:22:50 -0800 Subject: [PATCH] try new commit action --- .github/workflows/autoupdate.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autoupdate.yml b/.github/workflows/autoupdate.yml index f4acaf2..c059401 100644 --- a/.github/workflows/autoupdate.yml +++ b/.github/workflows/autoupdate.yml @@ -22,6 +22,12 @@ jobs: ] steps: + - name: Get App Token + uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.WAVE_BUILDER_APPID }} + private-key: ${{ secrets.WAVE_BUILDER_KEY }} - uses: actions/checkout@v4 with: ref: main @@ -52,8 +58,8 @@ jobs: if: steps.update.outputs.UpdateStatus == 'Update Available' - name: Commit Updated nuspec - uses: stefanzweifel/git-auto-commit-action@v4 + uses: getsentry/action-github-commit@v2.1.0 with: - commit_message: Apply Choco package update - ${{ matrix.package }} ${{ steps.update.outputs.newversion }} - file_pattern: '*.nuspec *.ps1' + github-token: ${{steps.app-token.outputs.token}} + message: "chore: update nuspec and script" if: steps.update.outputs.UpdateStatus == 'Update Available'