We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bff6952 commit 29e207cCopy full SHA for 29e207c
2 files changed
.github/workflows/autofix.yml
@@ -10,6 +10,11 @@ on:
10
required: false
11
type: string
12
default: pnpm run lint --fix
13
+ fetch-all:
14
+ description: Whether to fetch all history for all branches and tags.
15
+ required: false
16
+ type: boolean
17
+ default: false
18
19
jobs:
20
autofix:
@@ -20,6 +25,8 @@ jobs:
25
steps:
21
26
- name: Setup JS
22
27
uses: zotero-plugin-dev/workflows/setup-js@main
28
+ with:
29
+ fetch-all: ${{ inputs.fetch-all }}
23
30
24
31
- name: Fix
32
run: ${{ inputs.command }}
setup-js/action.yml
@@ -30,6 +30,7 @@ runs:
with:
persist-credentials: ${{ inputs.persist-credentials }}
fetch-depth: "${{ inputs.fetch-all == 'true' && '0' || '1' }}"
33
+ submodules: "${{ inputs.fetch-all == 'true' && 'recursive' || false }}"
34
35
- name: Install pnpm
36
if: ${{ inputs.package-manager == 'pnpm' }}
0 commit comments