Fix: grant push permissions to social cache workflow

Checkout with DASHBOARD_GITHUB_TOKEN PAT so git push succeeds.
Also add explicit contents: write permission at workflow level.
Fixes 403 'Permission denied to github-actions[bot]' error.
This commit is contained in:
phranck
2026-02-05 14:53:15 +01:00
parent 7e9243c6c3
commit ea3cb6974e
@@ -12,12 +12,17 @@ on:
default: 'false'
type: boolean
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.DASHBOARD_GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4