Skip to content

Commit

Permalink
Catch manual triggering in bump.yml GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonni committed Oct 12, 2023
1 parent 33701d8 commit e690789
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ on:
jobs:
build:
uses: ./.github/workflows/build.yml
if_manual:
needs: [build]
if: !github.event.pull_request
runs-on: ubuntu-latest
steps:
- run: |
echo The workflow is manually triggered, no version bump.
bump-version:
needs: [build]
if: github.event.pull_request.merged == true
Expand Down

0 comments on commit e690789

Please sign in to comment.