Skip to content

Commit 8f6659d

Browse files
Fix missing token in workflow checkout step (#41)
1 parent 3690021 commit 8f6659d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ on:
1212
branches:
1313
- master
1414
release:
15-
types:
16-
- released
15+
types: [published]
1716

1817
concurrency:
1918
group: ${{ github.workflow }}-${{ github.base_ref || github.run_id }}
@@ -111,11 +110,13 @@ jobs:
111110
needs: build
112111
if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'master'
113112
runs-on: ubuntu-latest
113+
permissions:
114+
contents: write
114115
steps:
115116
- uses: actions/checkout@v4
116117
with:
117118
ref: master
118-
token: ${{ secrets.TOKEN }}
119+
token: ${{ secrets.GITHUB_TOKEN }}
119120
- uses: actions/download-artifact@v4
120121
with:
121122
name: meta

0 commit comments

Comments
 (0)