Skip to content

Commit 3a878ba

Browse files
authored
Another fix to the DIY docs labeling workflow (#54805)
1 parent 9050edf commit 3a878ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/first-responder-v2-prs-collect.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
env:
7272
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7373
run: |
74-
ISSUE_NUMS=$(echo "${{ github.event.pull_request.body }}" | grep -oE '#[0-9]+' | tr -d '#')
74+
ISSUE_NUMS=$(echo "${{ github.event.pull_request.body }}" | grep -oE '(https://github.com/github/docs-content/issues/[0-9]+|#[0-9]+)' | grep -oE '[0-9]+')
7575
for ISSUE_NUM in $ISSUE_NUMS; do
7676
LABELS=$(gh issue view $ISSUE_NUM --repo github/docs-content --json labels --jq '.labels[].name')
7777
if echo "$LABELS" | grep -q 'DIY docs'; then

0 commit comments

Comments
 (0)