We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb6e3d6 commit c5a807eCopy full SHA for c5a807e
1 file changed
.github/workflows/template_update.yml
@@ -27,6 +27,7 @@ jobs:
27
repository: ${{ github.repository }}
28
ref: ${{ inputs.repo_branch }}
29
fetch-depth: 0
30
+ submodules: false
31
32
- name: Set up Python
33
uses: actions/setup-python@v5
@@ -120,9 +121,9 @@ jobs:
120
121
[ "$OLD" = "/dev/null" ] && continue
122
TGT="$OLD"
123
if [[ "$TGT" =~ ^[ab]/ ]]; then
- TGT="${TGT#*/}" # drop a/ or b/
124
+ TGT="${TGT#*/}"
125
else
- TGT="${TGT#*/}" # drop first component e.g. "template-base/"
126
127
fi
128
mkdir -p "$(dirname "$TGT")"
129
if [ ! -e "$TGT" ] && [ -f "$OLD" ]; then
0 commit comments