Skip to content

High performance self-hosted photo and video management solution.

chore: tee GITHUB_OUTPUT for debugging (#27378)

bo0tzzecba4e2a6214
diff --git a/.github/workflows/auto-close.yml b/.github/workflows/auto-close.yml
index 348c0785bb..dbbb404e9e 100644
--- a/.github/workflows/auto-close.yml
+++ b/.github/workflows/auto-close.yml
@@ -30,7 +30,7 @@ jobs:
while IFS= read -r header; do
printf '%s\n' "$BODY" | grep -qF "$header" || OK=false
done < <(sed '/<!--/,/-->/d' .github/pull_request_template.md | grep "^## ")
- echo "uses_template=$OK" >> "$GITHUB_OUTPUT"
+ echo "uses_template=$OK" | tee --append "$GITHUB_OUTPUT"
close_template:
runs-on: ubuntu-latest
@@ -128,7 +128,7 @@ jobs:
run: |
REMAINING=$(gh pr view "$PR_NUMBER" --repo "${{ github.repository }}" --json labels \
--jq '[.labels[].name | select(startswith("auto-closed:"))] | length')
- echo "remaining=$REMAINING" >> "$GITHUB_OUTPUT"
+ echo "remaining=$REMAINING" | tee --append "$GITHUB_OUTPUT"
- name: Reopen PR
if: ${{ steps.check_labels.outputs.remaining == '0' }}