From e1786296569e5a0acfb997b007091925519c7d79 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Mon, 4 Sep 2023 14:45:19 +0300 Subject: [PATCH] fix(release): updated provenance setting --- .github/workflows/release.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9dce710..541a1e7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,12 @@ on: branches: - master -name: release-please +permissions: + contents: write + pull-requests: write + id-token: write + +name: release jobs: release-please: runs-on: ubuntu-latest @@ -15,11 +20,11 @@ jobs: package-name: imapflow pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]' # The logic below handles the npm publication: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # these if statements ensure that a publication only occurs when # a new release is created: if: ${{ steps.release.outputs.release_created }} - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: node-version: 18 registry-url: 'https://registry.npmjs.org'