Skip to content

Commit d4dbed7

Browse files
committed
ci(release): release-plz/action now creates token automatically
1 parent 6852e93 commit d4dbed7

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,15 @@ jobs:
2727
token: ${{ secrets.OXC_BOT_PAT }}
2828
persist-credentials: true # required by release-plz
2929

30-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
31-
id: changes
32-
with:
33-
filters: |
34-
src:
35-
- 'Cargo.toml'
36-
- '**/Cargo.toml'
37-
- '.github/workflows/release.yml'
38-
39-
- uses: rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879 # v1.0.1
40-
if: steps.changes.outputs.src == 'true'
41-
id: auth
42-
4330
- uses: release-plz/action@acb9246af4d59a270d1d4058a8b9af8c3f3a2559 # v0.5.117
4431
id: release-plz
4532
env:
4633
GITHUB_TOKEN: ${{ secrets.OXC_BOT_PAT }}
47-
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
4834

4935
- uses: oxc-project/setup-rust@cd82e1efec7fef815e2c23d296756f31c7cdc03d # v1.0.0
5036
with:
5137
cache-key: warm
38+
5239
- uses: ./.github/actions/pnpm
5340

5441
- name: Bump package.json

0 commit comments

Comments
 (0)