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
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.ref }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Prettier
|
- name: Prettier
|
||||||
|
|||||||
Reference in New Issue
Block a user