Skip to content

Commit b69d5b3

Browse files
committed
chore: default read permissions
1 parent 6e18f16 commit b69d5b3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ name: Release
22

33
on:
44
workflow_dispatch:
5+
push:
6+
branches:
7+
- 09-17-chore_default_read_permissions
58

69
permissions: {}
710

811
jobs:
912
build-rust:
1013
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
1116
strategy:
1217
fail-fast: false
1318
matrix:
@@ -121,7 +126,7 @@ jobs:
121126
sed -i 's/"version": "0.0.0"/"version": "0.0.0-${{ github.sha }}"/' packages/cli/package.json
122127
123128
# Setup node correctly for publishing to github registry
124-
- uses: actions/setup-node@v5
129+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
125130
with:
126131
node-version-file: .node-version
127132
registry-url: "https://npm.pkg.github.com"

0 commit comments

Comments
 (0)