Skip to content

Commit 82c8f22

Browse files
committed
Use the variable to skip the checkout
1 parent 9d6ff9c commit 82c8f22

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/setup/directories/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ runs:
7575
git config --global advice.detachedHead 0
7676
git config --global init.defaultBranch garbage
7777
78-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
78+
- if: inputs.checkout
79+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
7980
with:
8081
path: ${{ inputs.srcdir }}
8182

0 commit comments

Comments
 (0)