Skip to content

Commit fa2da1b

Browse files
committed
ouptu debug changed-files
1 parent 1d4f8c4 commit fa2da1b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

action.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ runs:
213213
CHANGED_FILES=$(git diff-tree --no-commit-id --name-only -r HEAD | tr '\n' ',' | sed 's/,$//')
214214
echo "branch-name=$BRANCH_NAME" >> $GITHUB_OUTPUT
215215
echo "changed-files=${CHANGED_FILES}" >> $GITHUB_OUTPUT
216+
if [ "${{ inputs.debug }}" = "true" ]; then
217+
echo "changed-files=${CHANGED_FILES}"
218+
fi
216219
217220
## Stop with an error if some manual fixes are required on top of automatic fixes
218221
if [ "${{ inputs.stop-on-manual-fix }}" = "true" ] && [ "${MORE_ISSUES}" = "true" ]; then
@@ -226,10 +229,3 @@ runs:
226229
echo "branch-name=" >> $GITHUB_OUTPUT
227230
echo "changed-files=" >> $GITHUB_OUTPUT
228231
shell: bash
229-
230-
- name: Debug GITHUB_OUTPUT
231-
if: ${{ inputs.debug == 'true' }}
232-
run: |
233-
echo "— Contents of GITHUB_OUTPUT file —"
234-
cat "$GITHUB_OUTPUT"
235-
shell: bash

0 commit comments

Comments
 (0)