Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ready-for-doc-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,25 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
run: |
echo "Extracting issue numbers from PR description..."
ISSUE_NUMS=$(echo "${{ github.event.pull_request.body }}" | grep -oE '(https://github.com/github/docs-content/issues/[0-9]+|github/docs-content#[0-9]+|#[0-9]+)' | grep -oE '[0-9]+$')
echo "Extracted issue numbers: $ISSUE_NUMS"

if [ -n "$ISSUE_NUMS" ]; then
for ISSUE_NUM in $ISSUE_NUMS; do
# Check if the issue exists in the docs-content repository
echo "Checking issue $ISSUE_NUM in the docs-content repository..."
if gh issue view $ISSUE_NUM --repo github/docs-content --json labels > /dev/null 2>&1; then
echo "Issue $ISSUE_NUM exists in docs-content. Fetching labels..."
# Fetch labels for the issue
LABELS=$(gh issue view $ISSUE_NUM --repo github/docs-content --json labels --jq '.labels[].name' || echo "")
echo "Labels for issue $ISSUE_NUM: $LABELS"
if echo "$LABELS" | grep -q 'DIY docs'; then
echo "DIY docs label found for issue $ISSUE_NUM."
echo "DIY_DOCS_LABEL=true" >> $GITHUB_ENV
break
else
echo "DIY docs label not found for issue #$ISSUE_NUM."
fi
else
echo "Issue $ISSUE_NUM does not exist in the docs-content repository."
Expand Down
2 changes: 1 addition & 1 deletion src/github-apps/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"2022-11-28"
]
},
"sha": "fd8b14666d8a4e34411bee8dbd103edc8b81d0e3"
"sha": "dd7e0cab3399025166a33575ce09af6ff60bb26a"
}
116 changes: 58 additions & 58 deletions src/rest/data/fpt-2022-11-28/schema.json

Large diffs are not rendered by default.

156 changes: 78 additions & 78 deletions src/rest/data/ghec-2022-11-28/schema.json

Large diffs are not rendered by default.

Loading