From 5e2cf036de37e396213d32f9486c59cf9f06080b Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 1 Aug 2023 18:33:00 -0700 Subject: correctly place permissions at job-level --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9f0a5115..55df9c03 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -46,6 +46,8 @@ jobs: publish: # needs: pyinstaller runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout @@ -99,8 +101,6 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.ref }} - permissions: - contents: write - name: Upload .vsix artifact uses: actions/upload-artifact@v2 -- cgit v1.2.3-70-g09d2