Skip to content

Commit

Permalink
Adding GPG signing for create release
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-codecov committed Oct 6, 2023
1 parent 6d5566e commit 1f22c01
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/create_release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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/[email protected]
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: |
Expand Down

0 comments on commit 1f22c01

Please sign in to comment.