Merge pull request #3 from xixu-me/alert-autofix-1

Potential fix for code scanning alert no. 1: Workflow does not contain permissions
This commit is contained in:
xixu-me authored and GitHub committed 2025-07-11 17:49:50 +08:00
commit b08a854da6
1 file changed
+4
+4
View File
@@ -5,6 +5,10 @@ on:
tags: tags:
- "v*" # Triggers on version tags like v1.0.0, v1.2.3, etc. - "v*" # Triggers on version tags like v1.0.0, v1.2.3, etc.
permissions:
contents: write
packages: write
jobs: jobs:
build-and-publish: build-and-publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest