1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Fix DIY docs PR label (#54803)

This commit is contained in:
Joe Clark
2025-03-12 13:17:40 -07:00
committed by GitHub
parent 926b9f8ec4
commit 90ea84178f

View File

@@ -73,7 +73,7 @@ jobs:
run: |
ISSUE_NUMS=$(echo "${{ github.event.pull_request.body }}" | grep -oE '#[0-9]+' | tr -d '#')
for ISSUE_NUM in $ISSUE_NUMS; do
LABELS=$(gh issue view $ISSUE_NUM --json labels --jq '.labels[].name')
LABELS=$(gh issue view $ISSUE_NUM --repo github/docs-content --json labels --jq '.labels[].name')
if echo "$LABELS" | grep -q 'DIY docs'; then
echo "DIY_DOCS_LABEL=true" >> $GITHUB_ENV
break