Skip to content

Commit

Permalink
use github.event_name field instead
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Sep 26, 2024
1 parent 266ad3b commit eeda727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

jobs:
release:
if: ${{github.event.pull_request.merged == true || github.event.workflow}}
if: ${{github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'}}
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit eeda727

Please sign in to comment.