From 1f6a168d8ee7009417616afeca3092c72e006065 Mon Sep 17 00:00:00 2001 From: sirkitree Date: Sun, 3 Nov 2024 17:33:12 -0800 Subject: [PATCH] update generate-changelog to add permissions for commit --- .github/workflows/generate-changelog.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/generate-changelog.yml b/.github/workflows/generate-changelog.yml index 4d6723791b..912e8d8258 100644 --- a/.github/workflows/generate-changelog.yml +++ b/.github/workflows/generate-changelog.yml @@ -6,10 +6,13 @@ on: jobs: changelog: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} + token: ${{ secrets.CHANGELOG_GITHUB_TOKEN }} - name: Generate Changelog run: | export PATH="$PATH:/home/runner/.local/share/gem/ruby/3.0.0/bin"