diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7579d906..1822fa24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,7 @@ jobs: with: fetch-depth: 0 persist-credentials: false + ref: ${{ github.base_ref }} - uses: knope-dev/action@19617851f9f13ab2f27a05989c55efb18aca3675 # v2.1.2 with: @@ -26,4 +27,4 @@ jobs: - name: Create Release run: knope release --verbose env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}