mirror of
https://github.com/immich-app/immich.git
synced 2026-04-04 00:01:59 -04:00
chore: tee GITHUB_OUTPUT for debugging (#27378)
This commit is contained in:
parent
4eb531197e
commit
ecba4e2a62
4
.github/workflows/auto-close.yml
vendored
4
.github/workflows/auto-close.yml
vendored
@ -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' }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user