Skip to content

Commit 4b5f1c4

Browse files
committed
move github folder
1 parent ac5b3b2 commit 4b5f1c4

20 files changed

+3
-5659
lines changed

GitHub/CODEOWNERS-azureai-samples.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

GitHub/CODEOWNERS-azureml-examples.txt

Lines changed: 0 additions & 223 deletions
This file was deleted.

GitHub/CODEOWNERS-foundry-samples.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

GitHub/README.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,3 @@
11
# GitHub scripts
22

3-
See [Maintain code snippets in Azure docs](../code-snippets.md) for more information on how to use these scripts.
4-
5-
Scripts in this folder are used to help us maintain our code references.
6-
7-
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/sdgilley/learn-tools?quickstart=1)
8-
9-
If running locally instead of Codespaces, make sure you have `pyGithub` installed (`pip install pyGithub`) to run these scripts
10-
11-
* [find-snippets.py](find-snippets.py) - use arguments (ai, ml, all) to specify which repo. If no arguments, defaults to all.
12-
* creates the file refs-found-xx.csv. This file is used for both the pr-report and merge-report scripts.
13-
* create a CODEOWNERS file for the specified repo. Use the content in this file to update the corresponding CODEOWNERS file in the repo.
14-
* Examples:
15-
* `python find-snippets.py ai` to find all code snippets in both ai repos: foundry-examples & azureai-samples repo.
16-
* `python find-snippets.py ml` to find all code snippets in the azureml-examples repo.
17-
* `python find-snippets.py all` to find all code snippets in all repos.
18-
* [pr-report.py](pr-report.py) - add argument `ai` to use for foundry-samples instead of azureml-examples. Use this to evaluate whether a PR in azureml-examples/azureai-samples or azure-ai-foundry/foundry-samples will cause problems in our docs build. If you're using it for the first time in a while, first run [find-sippets.py](find-snippets.py) to get the most recent version of code snippets referenced by azure-ai-docs.
19-
* Examples:
20-
* `python pr-report.py 91` to check PR 91 in azureml-examples repo.
21-
* `python pr-report.py 169 ai` to check PR 169 in foundry-samples repo. (this should show a comment removed that would break our build)
22-
23-
* [merge-report.py](merge-report.py) - - use arguments (ai, ml, all) to speciy which repo. If no arguments, defaults to all. Use this to see what PRs in azureml-examples or foundry-examples ave merged in the last N days that might require a docs update (default is 8 days). If you're using it for the first time in a while, first run [find-sippets.py](find-snippets.py) to get the most recent version of code snippets referenced by azure-ai-docs.
24-
* Examples:
25-
* `python merge-report.py ml` to check the azureml-examples repo.
26-
* `python merge-report.py ai` to check the foundry-samples & azureai-samples repos.
27-
* `python merge-report.py` to check all repos.
28-
29-
The following files provide functions used in the above scripts:
30-
31-
* [utilities.py](utilities.py) - functions used by find-snippets, pr-report, and merge-report
32-
* [auth_request.py](auth.py) - function used by pr-report and merge-report to authenticate to github.
33-
34-
You'll need to set a GH_ACCESS_TOKEN environment variable before using auth_request.py. See https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens to create a token. Then add the token to an environment variable called GH_ACCESS_TOKEN.
3+
Moved to a new repo - see https://github.com/sdgilley/content-maintenance

0 commit comments

Comments
 (0)