diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 71cb5050..d3671341 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -909,7 +909,7 @@ jobs: bash - name: Run changed-files with custom sha id: changed-files-custom-sha - if: github.event.action != 'closed' + if: github.event_name == 'pull_request' && github.event.action != 'closed' uses: ./ with: sha: ${{ github.event.pull_request.head.sha }}