feat(actions): add write permissions for version-assets job
This commit is contained in:
3
.github/workflows/version-assets.yml
vendored
3
.github/workflows/version-assets.yml
vendored
@@ -15,12 +15,13 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
version-assets:
|
version-assets:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.APP_SECRET }}
|
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Delete old versioned assets
|
- name: Delete old versioned assets
|
||||||
|
|||||||
Reference in New Issue
Block a user