Skip to content

Commit a2af95f

Browse files
committed
ci: add release.yml
1 parent 0313249 commit a2af95f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Diff for: .github/workflows/release.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- "**/*.md"
9+
- "**/*.yml"
10+
- "!.github/workflows/release.yml"
11+
12+
jobs:
13+
release-plz:
14+
name: Release-plz
15+
runs-on: ubuntu-latest
16+
permissions:
17+
pull-requests: write
18+
contents: write
19+
steps:
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
with:
22+
fetch-depth: 0
23+
token: ${{ secrets.OXC_BOT_PAT }}
24+
25+
- uses: oxc-project/setup-rust@cd82e1efec7fef815e2c23d296756f31c7cdc03d # v1.0.0
26+
27+
- uses: MarcoIeni/release-plz-action@36d2dcf6a250ff9c4dfd2984e988d79ea67a4c6a # v0.5
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.OXC_BOT_PAT }}
30+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)