diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index c34508c..903f22f 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -13,10 +13,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' }}