Skip to content

Commit c5a807e

Browse files
WIP: merge fixing
1 parent cb6e3d6 commit c5a807e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/template_update.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
repository: ${{ github.repository }}
2828
ref: ${{ inputs.repo_branch }}
2929
fetch-depth: 0
30+
submodules: false
3031

3132
- name: Set up Python
3233
uses: actions/setup-python@v5
@@ -120,9 +121,9 @@ jobs:
120121
[ "$OLD" = "/dev/null" ] && continue
121122
TGT="$OLD"
122123
if [[ "$TGT" =~ ^[ab]/ ]]; then
123-
TGT="${TGT#*/}" # drop a/ or b/
124+
TGT="${TGT#*/}"
124125
else
125-
TGT="${TGT#*/}" # drop first component e.g. "template-base/"
126+
TGT="${TGT#*/}"
126127
fi
127128
mkdir -p "$(dirname "$TGT")"
128129
if [ ! -e "$TGT" ] && [ -f "$OLD" ]; then

0 commit comments

Comments
 (0)