mirror of
https://github.com/rustwasm/wasm-pack.git
synced 2025-12-08 18:23:30 +00:00
Merge pull request #1537 from drager/alert-autofix-5
chore: fix for code scanning alert no. 5: Workflow does not contain permissions
This commit is contained in:
commit
d243e2d729
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -4,6 +4,8 @@ on:
|
||||
- 'v*' # Run when tag matches v*, i.e. v1.0, v20.15.10
|
||||
|
||||
name: Release
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
RELEASE_BIN: wasm-pack
|
||||
@ -112,6 +114,8 @@ jobs:
|
||||
release:
|
||||
name: GitHub Release
|
||||
needs: build
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Query version number
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user