Skip to content

feat: create reusable workflow #1

feat: create reusable workflow

feat: create reusable workflow #1

Workflow file for this run

name: Publish package
on:
# push:
# branches:
# - main
workflow_dispatch:
inputs:
package-name:
description: The name of the package
type: string
dry-run:
description: Whether to run the workflow without publishing
type: boolean
default: false
jobs:
npm-publish:
uses: ast-grep/lang/.github/workflows/release@main

Check failure on line 19 in .github/workflows/trigger.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger.yml

Invalid workflow file

invalid value workflow reference: workflow file should have either a '.yml' or '.yaml' file extension
with:
package-name: ${{inputs.package-name}}
secrets:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}