From f6a4aa032c5f8ca61e8830e9eb57c1898eeb5ef4 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Sun, 10 Nov 2024 23:48:00 -0500 Subject: [PATCH] ci(publish): add attestations and generate parser --- .github/workflows/publish.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a1e6b579..35459aa2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,18 +4,32 @@ on: push: tags: ["*"] +permissions: + contents: write + id-token: write + attestations: write + jobs: github: uses: tree-sitter/workflows/.github/workflows/release.yml@main + with: + generate: true + attestations: true npm: uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main secrets: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + with: + generate: true crates: uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main secrets: CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}} + with: + generate: true pypi: uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main secrets: PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}} + with: + generate: true