Specify sha and PR number in codecov upload #159
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Release Draft | |
on: | |
pull_request_target: | |
types: [closed] | |
jobs: | |
build: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master branch | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.base.ref }} | |
- name: Update changelog | |
uses: release-drafter/release-drafter@v6 | |
id: release-drafter | |
with: | |
commitish: ${{ github.event.pull_request.base.ref }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.BP_PAT_TOKEN }} |