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:
1 file changed
+4
@@ -5,6 +5,10 @@ on:
|
||||
tags:
|
||||
- "v*" # Triggers on version tags like v1.0.0, v1.2.3, etc.
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user