Skip to content

Commit 5c2fb23

Browse files
Merge branch 'main' into patch-2
2 parents ab1df83 + 2233319 commit 5c2fb23

File tree

21 files changed

+165
-405
lines changed

21 files changed

+165
-405
lines changed

.github/workflows/link-check-external.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,30 @@ jobs:
4242
fi
4343
4444
- name: Upload report artifact
45-
if: failure()
45+
if: always()
4646
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4747
with:
4848
name: external-link-report
4949
path: artifacts/external-link-report.*
5050
retention-days: 14
51+
if-no-files-found: ignore
52+
53+
- name: Check if report exists
54+
if: always()
55+
id: check_report
56+
run: |
57+
if [ -f "artifacts/external-link-report.md" ]; then
58+
echo "has_report=true" >> $GITHUB_OUTPUT
59+
else
60+
echo "has_report=false" >> $GITHUB_OUTPUT
61+
echo "No broken link report generated - all links valid!"
62+
fi
5163
5264
- name: Create issue if broken links found
53-
if: failure()
65+
if: always() && steps.check_report.outputs.has_report == 'true'
5466
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v5
5567
with:
56-
token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
68+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
5769
repository: github/docs-content
5870
title: '🌐 Broken External Links Report'
5971
content-filepath: artifacts/external-link-report.md

.github/workflows/link-check-internal.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
if: matrix.language != 'en'
7979
uses: ./.github/actions/clone-translations
8080
with:
81-
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
81+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
8282

8383
- name: Check internal links
8484
env:
@@ -125,14 +125,14 @@ jobs:
125125
# Check if any reports exist
126126
if ls reports/*.md 1> /dev/null 2>&1; then
127127
echo "has_reports=true" >> $GITHUB_OUTPUT
128-
128+
129129
# Combine all markdown reports
130130
echo "# Internal Links Report" > combined-report.md
131131
echo "" >> combined-report.md
132132
echo "Generated: $(date -u +'%Y-%m-%d %H:%M UTC')" >> combined-report.md
133133
echo "[Action run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> combined-report.md
134134
echo "" >> combined-report.md
135-
135+
136136
for report in reports/*.md; do
137137
echo "---" >> combined-report.md
138138
cat "$report" >> combined-report.md
@@ -147,7 +147,7 @@ jobs:
147147
if: steps.combine.outputs.has_reports == 'true'
148148
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v5
149149
with:
150-
token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
150+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
151151
repository: github/docs-content
152152
title: '🔗 Broken Internal Links Report'
153153
content-filepath: combined-report.md

content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ The following features are currently unavailable on {% data variables.enterprise
2020

2121
| Feature | Details | More information |
2222
| :- | :- | :- |
23-
| {% data variables.product.prodname_copilot_short %} Metrics API | Currently unavailable. | [AUTOTITLE](/rest/copilot/copilot-metrics) |
2423
| {% data variables.product.prodname_github_codespaces %} | Currently unavailable. | [AUTOTITLE](/codespaces/quickstart) |
2524
| macOS runners for {% data variables.product.prodname_actions %} | Currently unavailable. | [AUTOTITLE](/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners) |
2625
| Maven and Gradle support for {% data variables.product.prodname_registry %} | Currently unavailable. | [AUTOTITLE](/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry) |

content/code-security/concepts/supply-chain-security/linked-artifacts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Storage records include the repository containing the artifact's source code, th
3838

3939
![Screenshot of an artifact page. Highlighted fields: storage registry, artifact repository, source repository.](/assets/images/help/security/virtual-registry-storage-record.png)
4040

41+
The _artifact repository_ is not mandatory. It refers to the concept of a repository in certain external package registries: a place where multiple packages can be grouped. By contrast, the _source repository_ refers to the {% data variables.product.github %} repository where the artifact is built. The source repository is mandatory, and is detected automatically if the artifact has a build provenance attestation.
42+
4143
For more information about attestations and SLSA levels, see [AUTOTITLE](/actions/concepts/security/artifact-attestations).
4244

4345
### Deployment records

content/code-security/how-tos/secure-at-scale/configure-organization-security/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Configure organization security
2+
title: Configuring security features in your organization
3+
shortTitle: Configure organization security
34
intro: Configure security across your organization by establishing coverage, managing settings, and controlling access to code security tools at scale.
45
versions:
56
fpt: '*'

content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/guidance-for-the-configuration-of-private-registries-for-dependabot.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@ redirect_from:
1818
contentType: how-tos
1919
---
2020

21-
## About configuring private registries for {% data variables.product.prodname_dependabot %}
22-
2321
This article contains recommendations and advice to help you configure {% data variables.product.prodname_dependabot %} to access your private registry, along with:
2422

25-
* Detailed snippets of the `dependabot.yml` configuration file for each package manager.
26-
* Important limitations or caveats.
27-
* Steps explaining how to test that the configuration is working.
28-
* Extra configuration options, wherever appropriate (for example, npm has a configuration file that needs to be set).
29-
* Advice about configuring registry hosts.
23+
* Detailed snippets of the `dependabot.yml` configuration file for each package manager
24+
* Important limitations or caveats
25+
* Steps explaining how to test that the configuration is working
26+
* Extra configuration options, wherever appropriate (for example, npm has a configuration file that needs to be set)
27+
* Advice about configuring registry hosts
3028

3129
You'll find detailed guidance for the setup of the following package managers:
3230

content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-the-dependency-graph.md renamed to content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/enabling-the-dependency-graph.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
2-
title: Configuring the dependency graph
2+
title: Enabling the dependency graph
33
intro: You can allow users to identify their projects' dependencies by enabling the dependency graph.
44
permissions: '{% data reusables.permissions.dependency-graph %}'
55
redirect_from:
66
- /code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph#enabling-the-dependency-graph
77
- /code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph
8+
- /code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-the-dependency-graph
89
versions:
910
fpt: '*'
1011
ghes: '*'
@@ -13,38 +14,41 @@ topics:
1314
- Dependency graph
1415
- Dependencies
1516
- Repositories
16-
shortTitle: Configure dependency graph
17+
shortTitle: Enable dependency graph
1718
contentType: how-tos
1819
---
19-
## About the dependency graph
2020

21-
{% data reusables.dependabot.about-the-dependency-graph %}
21+
The dependency graph is a summary of the manifest and lock files stored in a repository and any dependencies that are submitted for the repository using the {% data variables.dependency-submission-api.name %}. For more information, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph).
2222

23-
For more information, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph).
23+
When the dependency graph is first enabled, any manifest and lock files for supported ecosystems are parsed immediately. The graph is usually populated within minutes but this may take longer for repositories with many dependencies. Once enabled, the graph is automatically updated with every push to the repository{% ifversion fpt or ghec %} and every push to other repositories in the graph{% endif %}.
2424

2525
{% ifversion ghes %}
2626

27-
## Enabling the dependency graph
27+
## Enabling the dependency graph for a {% data variables.product.prodname_ghe_server %} instance
2828

2929
{% data reusables.dependabot.ghes-enabling-dependency-graph %}
3030

31-
{% endif %}
31+
{% else %}
3232

33-
{% ifversion fpt or ghec %}
33+
## Enabling the dependency graph for a repository
3434

35-
## Configuring the dependency graph
35+
Enabling the dependency graph gives {% data variables.product.github %} read-only access to the dependency manifest and lock files for a repository.
3636

37-
To generate a dependency graph, {% data variables.product.github %} needs read-only access to the dependency manifest and lock files for a repository. The dependency graph can be enabled or disabled for all repositories. For more information on viewing the dependency graph, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository).
37+
{% data reusables.dependabot.enabling-disabling-dependency-graph-private-repo-public-fork %}
3838

39-
{% data reusables.dependency-submission.dependency-submission-link %}
39+
## Enabling the dependency graph for multiple repositories
4040

41-
### Enabling and disabling the dependency graph
41+
You can enable or disable the dependency graph for all repositories owned by your user account, regardless of their visibility. See [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/managing-security-and-analysis-settings-for-your-personal-account).
4242

43-
{% data reusables.dependabot.enabling-disabling-dependency-graph-private-repo-public-fork %}
43+
You can also enable the dependency graph for multiple repositories in an organization at the same time. For more information, see {% ifversion security-configurations %}[AUTOTITLE](/code-security/securing-your-organization).{% else %}[AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-organization).{% endif %}
4444

4545
{% endif %}
4646

47-
When the dependency graph is first enabled, any manifest and lock files for supported ecosystems are parsed immediately. The graph is usually populated within minutes but this may take longer for repositories with many dependencies. Once enabled, the graph is automatically updated with every push to the repository{% ifversion fpt or ghec %} and every push to other repositories in the graph{% endif %}.
47+
## Next steps
48+
49+
{% data reusables.dependency-submission.dependency-submission-link %}
50+
51+
For more information on viewing the dependency graph, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository).
4852

4953
## Further reading
5054

content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ children:
1212
- /configuring-dependabot-security-updates
1313
- /configuring-dependabot-version-updates
1414
- /keeping-your-actions-up-to-date-with-dependabot
15-
- /configuring-the-dependency-graph
15+
- /enabling-the-dependency-graph
1616
- /exploring-the-dependencies-of-a-repository
1717
- /configuring-automatic-dependency-submission-for-your-repository
1818
- /using-the-dependency-submission-api

content/code-security/reference/supply-chain-security/dependabot-options-reference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,8 @@ Examples : `0 9 * * *`, `every day at 5pm`
682682
`0 9 * * *` is equivalent to "every day at 9am". `every day at 5pm` is equivalent to `0 17 * * *`.
683683

684684
> [!NOTE]
685-
> A `cronjob` type schedule is required to use a `cron` interval.
685+
> * Timezones must be specified in the [`timezone`](#timezone) parameter and not in the `cronjob`.
686+
> * A `cronjob` type schedule is required to use a `cron` interval.
686687

687688
```yaml copy
688689

content/copilot/how-tos/provide-context/use-copilot-spaces/create-copilot-spaces.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ You can add two types of context to your space:
4949
* **{% octicon "upload" aria-hidden="true" aria-label="upload" %} Upload a file**: You can upload files directly from your local machine. This includes images, text files, rich documents, and spreadsheets.
5050
* **{% octicon "paste" aria-hidden="true" aria-label="paste" %} Add text content**: You can type or paste free-text content, such as transcripts, notes, or any other relevant information that can help {% data variables.product.prodname_copilot_short %} understand the context of your space.
5151

52+
## Choosing repositories or files as context
53+
54+
When adding sources to your space, you can choose to attach entire repositories or individual files. Understanding how each option works can help you get the best results from {% data variables.product.prodname_copilot_short %}.
55+
56+
* **Attach a repository**: When you attach a repository, {% data variables.product.prodname_copilot_short %} doesn't load the entire project into memory. Instead, it searches the repository and retrieves only the most relevant content needed to answer your question. This is recommended for large-scale use cases (for example, answering questions across all documentation in a repository).
57+
58+
* **Attach individual files**: When you attach a file, its full contents are loaded into {% data variables.product.prodname_copilot_short %}'s context window and considered for every query in that space. This is best when you want {% data variables.product.prodname_copilot_short %} to consistently prioritize a specific document or small set of files.
59+
5260
## Adding context as you're working
5361

5462
You can add files to a space directly from the code view on {% data variables.product.github %}, so you don't need to break your flow when building context for your space.

0 commit comments

Comments
 (0)