From 2c9f257bc3e709116a450786d9a289c62e386c3e Mon Sep 17 00:00:00 2001 From: Rikki Schulte Date: Sat, 1 Jun 2024 12:35:20 +0200 Subject: [PATCH] enable pull request scope --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7f8617..bead5ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,8 @@ jobs: release: name: Release runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - name: Checkout uses: actions/checkout@v3 @@ -45,12 +47,11 @@ jobs: - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 + with: # This expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm release version: pnpm version-packages - commit: "chore(release): changesets versioning & publication" - title: "Changesets: Versioning & Publication" createGithubReleases: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}