From 4def41a2c18d41b34f32aa3861ea31c5c346d018 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Fri, 12 Dec 2025 21:13:31 +0100 Subject: [PATCH] ci: FIx permissions needed for update node dist files Signed-off-by: Julius Knorr --- .github/workflows/update-node-dist.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-node-dist.yml b/.github/workflows/update-node-dist.yml index 8bb51b31302..85574e73c96 100644 --- a/.github/workflows/update-node-dist.yml +++ b/.github/workflows/update-node-dist.yml @@ -13,7 +13,7 @@ on: - stable29 permissions: - contents: read + contents: write concurrency: group: update-node-dist-${{ github.head_ref || github.ref || github.run_id }} @@ -26,9 +26,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - with: - persist-credentials: false - token: ${{ secrets.BOT_GITHUB_TOKEN }} - name: Read package.json node and npm engines version uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1 @@ -79,9 +76,7 @@ jobs: - name: Add and commit if: steps.changes.outputs.CHANGED != '' - env: - HEAD_REF: ${{ needs.init.outputs.head_ref }} run: | git add --force js/ css/ git commit --signoff -m 'chore(assets): recompile assets' - git push origin "$HEAD_REF" + git push origin ${{ github.head_ref }}