diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index bf4a5d9..e083c27 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -19,7 +19,7 @@ on: jobs: update-contributors: # Only run if push to main, scheduled, manual trigger, or PR merged to main - if: github.event_name != 'pull_request' || github.event.pull_request.merged == true + if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true) runs-on: ubuntu-latest permissions: contents: write