Try using ref instead of head_ref in checkout action to maybe fix fork linter failures.
This commit is contained in:
2
web/.github/workflows/linter.yml
vendored
2
web/.github/workflows/linter.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
ref: ${{ github.ref }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Prettier
|
||||
|
||||
Reference in New Issue
Block a user