mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-21 20:06:37 +00:00
fix github action security found by github CodeQL (#1091)
This commit is contained in:
@@ -5,6 +5,9 @@ on:
|
|||||||
workflows: ["Build and Release"]
|
workflows: ["Build and Release"]
|
||||||
types: [completed]
|
types: [completed]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
new_version: ${{ github.event.workflow_run.head_branch }}
|
new_version: ${{ github.event.workflow_run.head_branch }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user