We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9050edf commit 3a878baCopy full SHA for 3a878ba
.github/workflows/first-responder-v2-prs-collect.yml
@@ -71,7 +71,7 @@ jobs:
71
env:
72
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73
run: |
74
- ISSUE_NUMS=$(echo "${{ github.event.pull_request.body }}" | grep -oE '#[0-9]+' | tr -d '#')
+ 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]+')
75
for ISSUE_NUM in $ISSUE_NUMS; do
76
LABELS=$(gh issue view $ISSUE_NUM --repo github/docs-content --json labels --jq '.labels[].name')
77
if echo "$LABELS" | grep -q 'DIY docs'; then
0 commit comments