diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cfd2a167..999697bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,22 +5,24 @@ on: branches: - develop -concurrency: ${{ github.workflow }}-${{ github.ref }} - +permissions: {} jobs: release: # prevents this action from running on forks if: github.repository == 'bluecadet/launchpad' - + permissions: contents: write # to create release (changesets/action) id-token: write # OpenID Connect token needed for provenance pull-requests: write # to create pull request (changesets/action) - + name: Release runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v4 + - name: Checkout Repo + 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