From 111ccd8f181f01e2b8649af8d756176eaf8043b9 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 14 Jun 2023 20:42:32 -0500 Subject: [PATCH] give permissions --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6de83c..b5be3c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,8 @@ on: jobs: setup: runs-on: ubuntu-latest + permissions: + contents: write # release changes require contents write steps: - uses: actions/checkout@v3 # - name: remove last latest release @@ -26,13 +28,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release upload latest dist/ release: - + depends-on: setup strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} - permissions: - contents: write # release changes require contents write steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4