Skip to content

Commit

Permalink
Update build-and-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkurmi authored Apr 4, 2024
1 parent aa68139 commit 6d459ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
build-and-commit:
runs-on: ubuntu-latest
if: github.event.workflow_dispatch || (github.event.pull_request.merged == true)
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true)
permissions:
contents: write
pull-requests: write
Expand Down

0 comments on commit 6d459ee

Please sign in to comment.