From 1f22c016f0e28110e6cd79bb56ff4641752681de Mon Sep 17 00:00:00 2001 From: trent-codecov Date: Thu, 5 Oct 2023 23:56:39 -0400 Subject: [PATCH] Adding GPG signing for create release --- .github/workflows/create_release_pr.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create_release_pr.yml b/.github/workflows/create_release_pr.yml index d920c0c8..588b3e06 100644 --- a/.github/workflows/create_release_pr.yml +++ b/.github/workflows/create_release_pr.yml @@ -27,7 +27,8 @@ jobs: - name: Create release branch run: git checkout -b release/${{ github.event.inputs.versionName }} - - name: Update version file + + - name: Update version and push id: make-commit env: GITHUB_TOKEN: ${{ secrets.CODECOV_RELEASE_PAT }} @@ -40,14 +41,14 @@ jobs: git add setup.py git commit -S --message "Prepare release ${{ github.event.inputs.versionName }}" echo "commit=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" - - name: Push release branch - run: git push origin release/${{ github.event.inputs.versionName }} + git push origin release/${{ github.event.inputs.versionName }} + - name: Create pull request into main uses: thomaseizinger/create-pull-request@1.3.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} head: release/${{ github.event.inputs.versionName }} - base: ${{ inputs.mainBranch }} + base: main title: Release ${{ github.event.inputs.versionName }} reviewers: ${{ github.event.issue.user.login }} body: |