diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index fd740c29..cb963abf 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -1,11 +1,11 @@ name: Contributors on: push: - branches: [ main ] + branches: [main] pull_request: - types: [ closed ] + types: [closed] schedule: - - cron: '0 2 * * 1' + - cron: "0 2 * * 1" workflow_dispatch: jobs: @@ -13,7 +13,9 @@ jobs: runs-on: ubuntu-latest if: | github.event_name == 'push' || - (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || + (github.event_name == 'pull_request' && + github.event.pull_request.merged == true && + github.event.pull_request.user.login != 'github-actions[bot]') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' permissions: