correctly place permissions at job-level
This commit is contained in:
parent
29fd79a2d1
commit
5e2cf036de
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue