From 3eb8b1a85cbfbbe47ff4bbde88dbbf73164ea8d9 Mon Sep 17 00:00:00 2001 From: Philipp Rossak Date: Fri, 10 Feb 2023 20:30:52 +0100 Subject: [PATCH] Add permission --- .github/workflows/auto_toc_update.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto_toc_update.yml b/.github/workflows/auto_toc_update.yml index 19518eb..5f22521 100644 --- a/.github/workflows/auto_toc_update.yml +++ b/.github/workflows/auto_toc_update.yml @@ -7,6 +7,9 @@ on: - 'README.md' - '**.yml' +permissions: + contents: write + jobs: build: runs-on: ubuntu-latest @@ -20,5 +23,4 @@ jobs: rm gh-md-toc - uses: stefanzweifel/git-auto-commit-action@v4 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} commit_message: Auto update markdown TOC