diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 7dd5bfe..67d11fa 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -22,6 +22,9 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + with: + # Make sure the actual branch is checked out when running on pull requests + ref: ${{ github.head_ref }} - name: Prettier Action uses: creyD/prettier_action@v4.2 with: