Skip to content

Commit

Permalink
Update workflow to trigger on push to master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nishimotz committed Oct 11, 2024
1 parent bcf87d4 commit 6ef4f6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:

jobs:
update-readme:
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/master') ||
(github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit 6ef4f6e

Please sign in to comment.