Skip to content

move actions and workflows locally #1688

move actions and workflows locally

move actions and workflows locally #1688

Workflow file for this run

name: Snapshot Release
on:
pull_request:
branches:
- main
permissions: write-all
jobs:
dependencies:
uses: ./.github/workflows/reusable/changesets-dependencies.yml

Check failure on line 11 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
alpha:
uses: ./.github/workflows/reusable/release-snapshot.yml
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
with:
npmTag: alpha
buildScript: build
nodeVersion: 20
packageManager: pnpm
packageManagerVersion: 9.1.0
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
release-candidate:
uses: ./.github/workflows/reusable/release-snapshot.yml
if: ${{ github.event.pull_request.title == 'Upcoming Release Changes' }}
with:
npmTag: rc
buildScript: build
nodeVersion: 20
packageManager: pnpm
packageManagerVersion: 9.1.0
restoreDeletedChangesets: true
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}