mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-30 02:04:54 +01:00
ci: scope release workflow write permissions to release job (#2713)
This commit is contained in:
1 parent
d95c6a91d4
commit
da542e24d0
1 file changed
+4
-3
@@ -14,9 +14,7 @@ on:
|
||||
type: string
|
||||
default: ""
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: release-${{ github.ref }}
|
||||
@@ -48,6 +46,9 @@ jobs:
|
||||
run: bash packaging/macos/dmg-test.sh
|
||||
release:
|
||||
needs: [credits, dmg-test]
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
# Intentionally tracked at @main (not SHA-pinned) so org-wide CI improvements, security fixes, and build optimizations propagate without PR churn across all craftapp repos.
|
||||
uses: storytold/craft-common-actions/.github/workflows/release.yml@main
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user