diff --git a/.github/workflows/rendercv.yml b/.github/workflows/rendercv.yml index 40635f5..b4aff68 100644 --- a/.github/workflows/rendercv.yml +++ b/.github/workflows/rendercv.yml @@ -12,7 +12,8 @@ on: jobs: render: runs-on: ubuntu-latest - + permissions: + contents: write steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 @@ -27,10 +28,10 @@ jobs: - name: Render CV run: rendercv render miti99.yml - - name: Commit and push PDF + - name: Commit and push changes run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git add miti99.pdf - git diff --staged --quiet || git commit -m "chore: auto-render CV PDF" + git add -A + git diff --staged --quiet || git commit -m "chore: auto-render CV" git push