Skip to content

Commit ad2018a

Browse files
committed
ci(publish): add attestations and generate parser
1 parent d5e1c9b commit ad2018a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/publish.yml

+14
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,32 @@ on:
44
push:
55
tags: ["*"]
66

7+
permissions:
8+
contents: write
9+
id-token: write
10+
attestations: write
11+
712
jobs:
813
github:
914
uses: tree-sitter/workflows/.github/workflows/release.yml@main
15+
with:
16+
generate: true
17+
attestations: true
1018
npm:
1119
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
1220
secrets:
1321
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
22+
with:
23+
generate: true
1424
crates:
1525
uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
1626
secrets:
1727
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}}
28+
with:
29+
generate: true
1830
pypi:
1931
uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main
2032
secrets:
2133
PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}
34+
with:
35+
generate: true

0 commit comments

Comments
 (0)