workflow: stricter permissions 2
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by daishi · committed by daishi · parent 465b91f · Browse files · 7 files·+17 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+17 added−2 removed
- other:+17 added−2 removed
Provenance
- Commit
6784d1e- Tree
5a6c87a- Author
daishi <daishi@axlight.com>- Committer
daishi <daishi@axlight.com>- Parent
465b91f
7 files changed+17 added−2 removed
modified:.github/workflows/compressed-size.yml+2 added
11 unmodified lines121314151617181920214 unmodified lines11 unmodified lines contents: read pull-requests: write steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: 'lts/*'4 unmodified linesmodified:.github/workflows/preview-release.yml+2 added
11 unmodified lines121314151617181920214 unmodified lines11 unmodified lines contents: read pull-requests: write steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: 'lts/*'4 unmodified linesmodified:.github/workflows/publish.yml+5 added-2 removed
3 unmodified lines456788910111213141516171819202122232421252627283 unmodified lines release: types: [published]
permissions: id-token: write contents: read
jobs: publish: runs-on: ubuntu-latest permissions: contents: read id-token: write steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: 'lts/*' registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - run: pnpm install - run: pnpm run build - run: npm publish working-directory: distmodified:.github/workflows/test-multiple-builds.yml+2 added
17 unmodified lines1819202122232425262729 unmodified lines17 unmodified lines build: [cjs, esm] env: [development] # [development, production] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: 'lts/*'29 unmodified linesmodified:.github/workflows/test-multiple-versions.yml+2 added
25 unmodified lines262728293031323334358 unmodified lines25 unmodified lines - 19.3.0-canary-f4e0d4ed-20260429 - 0.0.0-experimental-f4e0d4ed-20260429 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: 'lts/*'8 unmodified linesmodified:.github/workflows/test-old-typescript.yml+2 added
31 unmodified lines32 - 4.6.433 - 4.5.534 steps:35 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.236+ with:37+ persist-credentials: false38 - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.039 - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.040 with:41 node-version: 'lts/*'30 unmodified linesmodified:.github/workflows/test.yml+2 added
12 unmodified lines13 test:14 runs-on: ubuntu-latest15 steps:16 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.217+ with:18+ persist-credentials: false19 - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.020 - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.021 with:22 node-version: 'lts/*'7 unmodified lines