Skip to content

Commit

Permalink
Merge pull request #24 from mgoodness/use-mgoodness
Browse files Browse the repository at this point in the history
New major version
  • Loading branch information
mgoodness authored Feb 22, 2024
2 parents d268450 + 304d75a commit 6bebd99
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false

- uses: actions-ecosystem/action-release-label@v1
- uses: mgoodness/action-release-label@main
id: release-label
if: ${{ startsWith(github.event.label.name, 'release/') }}

Expand All @@ -33,6 +35,6 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
body: |
This PR will update [${{ github.repository }}](https://github.com/${{ github.repository }}) from [${{ steps.get-latest-tag.outputs.tag }}](https://github.com/${{ github.repository }}/releases/tag/${{ steps.get-latest-tag.outputs.tag }}) to ${{ steps.bump-semver.outputs.new_version }} :rocket:
This PR will update [${{ github.repository }}](${{ github.server_url }}/${{ github.repository }}) from [${{ steps.get-latest-tag.outputs.tag }}](${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ steps.get-latest-tag.outputs.tag }}) to ${{ steps.bump-semver.outputs.new_version }} :rocket:
If this update isn't as you expected, you may want to change or remove the *release label*.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false

- uses: actions-ecosystem/action-get-merged-pull-request@v1
- uses: mgoodness/action-get-merged-pull-request@main
id: get-merged-pull-request
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions-ecosystem/action-release-label@v1
- uses: mgoodness/action-release-label@main
id: release-label
if: ${{ steps.get-merged-pull-request.outputs.title != null }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: ${{ steps.get-merged-pull-request.outputs.labels }}

- uses: actions-ecosystem/action-get-latest-tag@v1
Expand Down

0 comments on commit 6bebd99

Please sign in to comment.