diff --git a/.github/workflows/main .yml b/.github/workflows/main .yml index b388095..bc619a6 100644 --- a/.github/workflows/main .yml +++ b/.github/workflows/main .yml @@ -4,20 +4,12 @@ on: push: branches: - main - pull_request: - types: [closed] jobs: remove_duplicates: runs-on: ubuntu-latest - if: > - github.event_name == 'push' && - github.ref == 'refs/heads/main' && - github.actor.login == 'github-actions[bot]' || - github.event_name == 'pull_request' && - github.event.pull_request.merged == true && - github.actor.login == 'github-actions[bot]' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Checkout Repository