Skip to content

chore: changeset

chore: changeset #10

Workflow file for this run

name: Changesets
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:

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

View workflow run for this annotation

GitHub Actions / Changesets

Invalid workflow file

The workflow is not valid. .github/workflows/changesets.yml (Line: 11, Col: 3): Error calling workflow 'tmm/kysely-migrate/.github/workflows/verify.yml@27bf656361b9b192bdb5ed5b7bb9e5d9cf28e839'. The nested job 'lint' is requesting 'actions: write, checks: write, contents: write, deployments: write, discussions: write, issues: write, packages: write, pages: write, pull-requests: write, repository-projects: write, statuses: write, security-events: write, id-token: write', but is only allowed 'actions: none, checks: none, co[...]
name: Verify
uses: ./.github/workflows/verify.yml
secrets: inherit
changesets:
name: Create pull request or publish
needs: verify
permissions: write-all
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Create version pull request or publish to npm
uses: changesets/action@v1
with:
title: 'chore: version packages'
commit: 'chore: version packages'
createGithubReleases: ${{ github.ref == 'refs/heads/main' }}
publish: pnpm changeset:publish
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}