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
12 changes: 12 additions & 0 deletions .github/workflows/ready-for-doc-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,25 @@ jobs:
echo "No DIY docs issues found in the PR description."
fi

# Debug step to confirm environment variables are set correctly
Copy link
Preview

Copilot AI Mar 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider removing or conditionally disabling the debug steps before merging to prevent potentially exposing sensitive environment variable values in production logs.

Copilot uses AI. Check for mistakes.

- name: Debug environment variables
run: |
echo "Current environment variables:"
echo "DIY_DOCS_LABEL: $DIY_DOCS_LABEL"
echo "Repository: ${{ github.repository }}"

# If the PR description contains a link to a DIY docs issue, add the DIY docs label to the PR.
- name: Add the DIY docs label if connected to a DIY docs issue
if: ${{ env.DIY_DOCS_LABEL == 'true' }} && github.repository == 'github/docs-internal'
env:
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: |
# Debugging output
echo "Condition check:"
echo "DIY_DOCS_LABEL is: $DIY_DOCS_LABEL"
echo "github.repository is: ${{ github.repository }}"
echo "Adding the DIY docs label..."
gh pr edit $PR_URL --add-label 'DIY docs'

- name: Run script
Expand Down
5 changes: 0 additions & 5 deletions data/features/code-scanning-default-setup-automatic-311.yml

This file was deleted.

5 changes: 0 additions & 5 deletions data/features/codeql-action-node16-deprecated.yml

This file was deleted.

6 changes: 0 additions & 6 deletions data/features/codeql-cli-threat-models.yml

This file was deleted.

4 changes: 0 additions & 4 deletions data/features/codeql-cpp-autoinstall-dependencies.yml

This file was deleted.

6 changes: 0 additions & 6 deletions data/features/codeql-language-identifiers-311.yml

This file was deleted.

2 changes: 1 addition & 1 deletion data/reusables/enterprise/repo-policy-rules-allow-list.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Choose which roles and teams can **bypass** the restrictions in this policy.
Choose which roles can **bypass** the restrictions in this policy.
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": "dd7e0cab3399025166a33575ce09af6ff60bb26a"
"sha": "30dd46c371d8e335d32c414f972a800d811966b4"
}
56 changes: 56 additions & 0 deletions src/rest/data/fpt-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -406408,6 +406408,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down Expand Up @@ -407554,6 +407558,11 @@
"name": "allowed_merge_methods",
"description": "<p>Array of allowed merge methods. Allowed values include <code>merge</code>, <code>squash</code>, and <code>rebase</code>. At least one option must be enabled.\nSupported values are: <code>merge</code>, <code>squash</code>, <code>rebase</code></p>"
},
{
"type": "boolean",
"name": "automatic_copilot_code_review_enabled",
"description": "<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\n<code>automatic_copilot_code_review_enabled</code> is in beta and subject to change.</p>\n</div>\n<p>Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.</p>"
},
{
"type": "boolean",
"name": "dismiss_stale_reviews_on_push",
Expand Down Expand Up @@ -408958,6 +408967,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down Expand Up @@ -410329,6 +410342,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down Expand Up @@ -411480,6 +411497,11 @@
"name": "allowed_merge_methods",
"description": "<p>Array of allowed merge methods. Allowed values include <code>merge</code>, <code>squash</code>, and <code>rebase</code>. At least one option must be enabled.\nSupported values are: <code>merge</code>, <code>squash</code>, <code>rebase</code></p>"
},
{
"type": "boolean",
"name": "automatic_copilot_code_review_enabled",
"description": "<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\n<code>automatic_copilot_code_review_enabled</code> is in beta and subject to change.</p>\n</div>\n<p>Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.</p>"
},
{
"type": "boolean",
"name": "dismiss_stale_reviews_on_push",
Expand Down Expand Up @@ -412885,6 +412907,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down Expand Up @@ -538932,6 +538958,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down Expand Up @@ -540672,6 +540702,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down Expand Up @@ -541661,6 +541695,11 @@
"name": "allowed_merge_methods",
"description": "<p>Array of allowed merge methods. Allowed values include <code>merge</code>, <code>squash</code>, and <code>rebase</code>. At least one option must be enabled.\nSupported values are: <code>merge</code>, <code>squash</code>, <code>rebase</code></p>"
},
{
"type": "boolean",
"name": "automatic_copilot_code_review_enabled",
"description": "<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\n<code>automatic_copilot_code_review_enabled</code> is in beta and subject to change.</p>\n</div>\n<p>Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.</p>"
},
{
"type": "boolean",
"name": "dismiss_stale_reviews_on_push",
Expand Down Expand Up @@ -543046,6 +543085,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down Expand Up @@ -544428,6 +544471,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down Expand Up @@ -545422,6 +545469,11 @@
"name": "allowed_merge_methods",
"description": "<p>Array of allowed merge methods. Allowed values include <code>merge</code>, <code>squash</code>, and <code>rebase</code>. At least one option must be enabled.\nSupported values are: <code>merge</code>, <code>squash</code>, <code>rebase</code></p>"
},
{
"type": "boolean",
"name": "automatic_copilot_code_review_enabled",
"description": "<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\n<code>automatic_copilot_code_review_enabled</code> is in beta and subject to change.</p>\n</div>\n<p>Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review.</p>"
},
{
"type": "boolean",
"name": "dismiss_stale_reviews_on_push",
Expand Down Expand Up @@ -546808,6 +546860,10 @@
]
}
},
"automatic_copilot_code_review_enabled": {
"type": "boolean",
"description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review."
},
"dismiss_stale_reviews_on_push": {
"type": "boolean",
"description": "New, reviewable commits pushed will dismiss previous pull request review approvals."
Expand Down
Loading