Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Commit 102332f

Browse files
committed
ref for sync
1 parent 2e09fdc commit 102332f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,33 +66,33 @@ runs:
6666
YQ="yq"
6767
fi
6868
69-
TEMPLATE_REPO="$($YQ '.template-repository // ""' "$CONFIG_FILE")"
69+
TEMPLATE_REPO="$($YQ '.template-repository // ""' "${CONFIG_FILE}")"
7070
if [[ -z "$TEMPLATE_REPO" ]]; then
7171
echo "::error::template-repository missing in ${CONFIG_FILE}"
7272
exit 1
7373
fi
7474
echo "template_repository=$TEMPLATE_REPO" >> $GITHUB_OUTPUT
7575
76-
TEMPLATE_BRANCH="$($YQ '.template-branch // "main"' "$CONFIG_FILE")"
76+
TEMPLATE_BRANCH="$($YQ '.template-branch // "main"' "${CONFIG_FILE}")"
7777
echo "template_branch=$TEMPLATE_BRANCH" >> $GITHUB_OUTPUT
7878
79-
TEMPLATE_REF="$($YQ '.template-ref // ""' "$CONFIG_FILE")"
79+
TEMPLATE_REF="$($YQ '.template-ref // ""' "${CONFIG_FILE}")"
8080
echo "template_ref=$TEMPLATE_REF" >> $GITHUB_OUTPUT
8181
8282
# New: Tag/Ref override
8383
#TEMPLATE_REF_INPUT="${{ inputs.template-ref }}"
84-
#TEMPLATE_REF_CONFIG="$($YQ '.template-ref // ""' "$CONFIG_FILE")"
84+
#TEMPLATE_REF_CONFIG="$($YQ '.template-ref // ""' "${CONFIG_FILE}")"
8585
#TEMPLATE_REF="${TEMPLATE_REF_INPUT:-$TEMPLATE_REF_CONFIG}"
8686
#echo "template_ref=$TEMPLATE_REF" >> $GITHUB_OUTPUT
8787
8888
# Include patterns
89-
INCLUDE="$($YQ '.include // ""' "$CONFIG_FILE")"
89+
INCLUDE="$($YQ '.include // ""' "${CONFIG_FILE}")"
9090
echo "include<<EOF" >> $GITHUB_OUTPUT
9191
echo "$INCLUDE" >> $GITHUB_OUTPUT
9292
echo "EOF" >> $GITHUB_OUTPUT
9393
9494
# Exclude patterns
95-
EXCLUDE="$($YQ '.exclude // ""' "$CONFIG_FILE")"
95+
EXCLUDE="$($YQ '.exclude // ""' "${CONFIG_FILE}")"
9696
echo "exclude<<EOF" >> $GITHUB_OUTPUT
9797
echo "$EXCLUDE" >> $GITHUB_OUTPUT
9898
echo "EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)