diff --git a/.github/workflows/api-lint.yml b/.github/workflows/api-lint.yml index 7666e94..2b462db 100644 --- a/.github/workflows/api-lint.yml +++ b/.github/workflows/api-lint.yml @@ -4,6 +4,7 @@ on: [pull_request, push] jobs: hlint: runs-on: ubuntu-latest + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@v2