Skip to content

Commit

Permalink
Use updated version of codecov GHAction workflows. Thanks @trent-codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanni-guidini committed Oct 3, 2023
1 parent 75e118d commit 25ada2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,5 @@ jobs:
create-release:
name: Tag Release ${{ github.head_ref }}
if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.repository_owner == 'codecov' }}
runs-on: ubuntu-22.04
steps:
# From https://stackoverflow.com/a/75679739
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \re
--generate-notes
uses: codecov/gha-workflows/.github/workflows/[email protected]
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/create_release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ on:
jobs:
create-release-pr:
name: Create PR for Release ${{ github.event.inputs.versionName }}
uses: codecov/gha-workflows/.github/workflows/create-self-hosted-pr.yml@v1.0.0
uses: codecov/gha-workflows/.github/workflows/create-release-pr.yml@v1.1.0
secrets: inherit

0 comments on commit 25ada2a

Please sign in to comment.