Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

ci: move release workflow write permission to job level (SonarCloud S8233) (#3928)

Dylan M. Taylor76467a1a9b42
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0cb9e9193..5fd996c43 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -13,7 +13,7 @@ on:
default: ""
permissions:
- contents: write
+ contents: read
concurrency:
group: release-${{ github.ref }}
@@ -61,6 +61,8 @@ jobs:
release:
needs: git-sources
+ permissions:
+ contents: 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: