From 90c4a044d2cde08f806ed9dadc530c3027fa74fc Mon Sep 17 00:00:00 2001 From: rs028 Date: Sat, 3 Feb 2024 17:05:38 +0000 Subject: [PATCH] Correct permissions --- .github/workflows/tex.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tex.yml b/.github/workflows/tex.yml index 740cf6be..6ecccf34 100644 --- a/.github/workflows/tex.yml +++ b/.github/workflows/tex.yml @@ -38,6 +38,8 @@ jobs: pdf_manual: # The job runs on the latest version of linux (ubuntu) runs-on: ubuntu-latest + permissions: + contents: write steps: @@ -54,7 +56,6 @@ jobs: run: | echo "Token Permissions: $(curl -sSL -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/AtChem/AtChem2 | jq .permissions)" - # ------------------------------------------------------------- # 2. Setup TeXLive and Inkscape (v1.x), then run the script to # generate the pdf file of the manual @@ -84,6 +85,5 @@ jobs: - name: Commit and Push run: | git add doc/AtChem2-Manual.pdf - git status - # git commit -m "Update AtChem2-Manual.pdf" + git commit -m "Update AtChem2-Manual.pdf" # git push origin HEAD:${{ github.ref }}