From 909cd614a78add73a3ce348f2ac6888b120d4da0 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Mon, 25 Nov 2024 15:14:51 -0500 Subject: [PATCH] Fix permissions for release --- .github/workflows/new-release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/new-release.yml b/.github/workflows/new-release.yml index a7d70eb5..76edca0f 100644 --- a/.github/workflows/new-release.yml +++ b/.github/workflows/new-release.yml @@ -8,8 +8,14 @@ jobs: make-new-release: name: "Releasing plugin" runs-on: ubuntu-latest + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the + # changed files to the repository. + contents: write steps: - uses: actions/checkout@v4.2.2 + with: + ref: ${{ github.head_ref }} - name: set up JDK 1.8 uses: actions/setup-java@v4 with: