Skip to content

fix: grant contents:write permission so bot can push rendered files #21

fix: grant contents:write permission so bot can push rendered files

fix: grant contents:write permission so bot can push rendered files #21

Workflow file for this run

name: Render CV
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
render:
runs-on: ubuntu-latest
permissions:
contents: write # ← this fixes the 403 error
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
nix_version: '2.24'
- run: nix develop --command rendercv render cv.yaml --output-folder render-output -nopng
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update rendered CV (PDF/HTML/MD)"
file_pattern: render-output/*