From 554157d6eef4c4cf35bdc76252114110b5e4bb72 Mon Sep 17 00:00:00 2001 From: Aaron Sherber Date: Wed, 31 Jan 2024 13:48:27 -0500 Subject: [PATCH 1/2] chore: Switch to different git push action --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 96aa59e..aae6023 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: - run: npx pnpm i - run: npm run build - name: Commit & Push changes - uses: actions-js/push@v1.2 + uses: ad-m/github-push-action@v0.8.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: 'main' From ea54e293b03909f99f9648b16f632dbb5c14c0cc Mon Sep 17 00:00:00 2001 From: Aaron Sherber Date: Wed, 31 Jan 2024 13:53:20 -0500 Subject: [PATCH 2/2] chore: Set token permissions --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aae6023..95717ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,10 +20,11 @@ jobs: build: runs-on: ubuntu-latest needs: test-push + permissions: + contents: write steps: - uses: actions/checkout@v4 with: - persist-credentials: false fetch-depth: 0 - uses: actions/setup-node@v4 with: