Skip to content

Publish package

Publish package #10

Workflow file for this run

name: Publish package
on:
push:
tags: ["*"]
jobs:
github:

Check failure on line 8 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish package

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 8, Col: 3): Error calling workflow 'tree-sitter/workflows/.github/workflows/release.yml@main'. The workflow is requesting 'attestations: write', but is only allowed 'attestations: none'.
uses: tree-sitter/workflows/.github/workflows/release.yml@main
permissions:
contents: write
id-token: write
npm:
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
with:
package-name: "@tree-sitter-grammars/tree-sitter-markdown"
secrets:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
crates:
uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
with:
package-name: tree-sitter-md
secrets:
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_TOKEN}}
pypi:
uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main
with:
package-name: tree-sitter-markdown
secrets:
PYPI_API_TOKEN: ${{secrets.PYPI_TOKEN}}