From f393d3790ad3bbd3ccf347e5a3fe1249e448a8ff Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Fri, 13 Jan 2023 22:32:14 +0100 Subject: [PATCH 1/2] ci: only fetch latest commit when checking out Signed-off-by: oSumAtrIX --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c10e9feb..afff9cd1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,8 @@ jobs: uses: styfle/cancel-workflow-action@0.11.0 - name: Checkout uses: actions/checkout@v3 + width: + fetch-depth: 0 - name: Set up JDK uses: actions/setup-java@v3 with: From 09afccce27beb979f77318a4207ea81021dd55e1 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Fri, 13 Jan 2023 22:32:40 +0100 Subject: [PATCH 2/2] ci: use PAT in step `Release` Signed-off-by: oSumAtrIX --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afff9cd1..dcd04688 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,9 @@ jobs: - name: Checkout uses: actions/checkout@v3 width: + # Make sure the release step uses its own credentials: + # https://github.com/cycjimmy/semantic-release-action#private-packages + fersist-credentials: false fetch-depth: 0 - name: Set up JDK uses: actions/setup-java@v3