File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ concurrency:
1616 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1717 cancel-in-progress : true
1818
19+ permissions :
20+ contents : read
21+
1922jobs :
2023 benchmark :
2124 name : Benchmark
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ concurrency:
1818 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1919 cancel-in-progress : ${{ github.ref_name != 'main' }}
2020
21+ permissions :
22+ contents : read
23+
2124defaults :
2225 run :
2326 shell : bash
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ concurrency:
1616 group : ${{ github.workflow }}-${{ github.ref }}
1717 cancel-in-progress : ${{ github.ref_name != 'main' }}
1818
19+ permissions :
20+ contents : read
21+
1922jobs :
2023 coverage :
2124 name : Code Coverage
Original file line number Diff line number Diff line change 3434 required : false
3535 default : true
3636
37- permissions :
38- # To publish packages with provenance
39- id-token : write
40- # Allow commenting on issues for `reusable-build.yml`
41- issues : write
37+ permissions : {}
4238
4339jobs :
4440 build :
6561 - target : aarch64-apple-darwin
6662 runner : " macos-latest"
6763
64+ permissions :
65+ contents : read
6866 uses : ./.github/workflows/reusable-build.yml
6967 with :
7068 target : ${{ matrix.array.target }}
7775 name : Release
7876 environment : npm
7977 permissions :
78+ # push release tag via scripts/x.mjs publish --push-tags
8079 contents : write
81- # To publish packages with provenance
80+ # OIDC provenance for npm publish
8281 id-token : write
8382 runs-on : ubuntu-latest
8483 needs : build
Original file line number Diff line number Diff line change 1313 required : false
1414 default : false
1515
16- permissions :
17- # trust publish needs
18- id-token : write
19- # push tag
20- contents : write
16+ permissions : {}
2117
2218jobs :
2319 release-plz :
2420 name : Release-plz
2521 runs-on : ubuntu-latest
2622 environment : crate
23+ permissions :
24+ # OIDC trusted publishing to crates.io
25+ id-token : write
26+ # push release tag
27+ contents : write
2728 steps :
2829 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2930 with :
Original file line number Diff line number Diff line change 3535 CARGO_INCREMENTAL : 0
3636
3737permissions :
38- # Allow commenting on issues
39- issues : write
38+ contents : read
4039
4140jobs :
4241 build :
You can’t perform that action at this time.
0 commit comments