Add token permissions for CIs to fix issues reported by scorecard (#3867)
This commit is contained in:
6
.github/workflows/build_iwasm_release.yml
vendored
6
.github/workflows/build_iwasm_release.yml
vendored
@ -87,6 +87,9 @@ env:
|
||||
-DWAMR_BUILD_EXCE_HANDLING=1 \
|
||||
-DWAMR_BUILD_GC=1"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ inputs.runner }}
|
||||
@ -97,6 +100,9 @@ jobs:
|
||||
suffix: ''
|
||||
- build_options: $GC_EH_BUILD_OPTIONS
|
||||
suffix: '-gc-eh'
|
||||
permissions:
|
||||
contents: write # for uploading release artifacts
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user