diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 623c8e2..8bfc64e 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -12,10 +12,9 @@ jobs: # If the PR is coming from a fork (pull_request_target), ensure it's opened by "dependabot[bot]". # Otherwise, clone it normally. if: | - (github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]') || - (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') + (github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]') || + (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') runs-on: ubuntu-22.04 - steps: - name: Checkout if: ${{ github.event_name != 'pull_request_target' }}