mirror of
https://github.com/edera-dev/sprout.git
synced 2026-08-06 01:01:04 +00:00
fix(ci): scope token
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -52,6 +52,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
app-id: "${{ secrets.EDERA_CULTIVATION_APP_ID }}"
|
app-id: "${{ secrets.EDERA_CULTIVATION_APP_ID }}"
|
||||||
private-key: "${{ secrets.EDERA_CULTIVATION_APP_PRIVATE_KEY }}"
|
private-key: "${{ secrets.EDERA_CULTIVATION_APP_PRIVATE_KEY }}"
|
||||||
|
# Scope to what uploading assets and `gh release edit` need: write to
|
||||||
|
# release contents.
|
||||||
|
permission-contents: write
|
||||||
if: ${{ github.event.inputs.release-tag != '' }}
|
if: ${{ github.event.inputs.release-tag != '' }}
|
||||||
|
|
||||||
- name: 'upload release artifacts'
|
- name: 'upload release artifacts'
|
||||||
|
|||||||
Reference in New Issue
Block a user