From d1d4995f841ea984e05bb9dacf02fbd991b5e1c5 Mon Sep 17 00:00:00 2001 From: Cristian Petre Date: Sun, 12 May 2024 13:27:46 +0100 Subject: [PATCH] chore(ci): skip confirmation prompt --- .github/workflows/publish.yml | 4 ++-- nx.json | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 64ce448..eaa028a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: release: runs-on: ubuntu-latest permissions: - contents: read + contents: write id-token: write steps: - uses: actions/checkout@v4 @@ -35,7 +35,7 @@ jobs: git config user.email "github-actions[bot]@users.noreply.github.com" - name: Release - run: npx nx release + run: npx nx release -y env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_PROVENANCE: true diff --git a/nx.json b/nx.json index 2a0a6f2..e03a433 100644 --- a/nx.json +++ b/nx.json @@ -37,6 +37,11 @@ "release": { "version": { "conventionalCommits": true + }, + "changelog": { + "projectChangelogs": { + "createRelease": "github" + } } } }