|
Download flutter/docs/contributing/Labeling-PRs.md from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 836 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/docs/contributing/Labeling-PRs.md
- Command line
-
hf download hf://luom2645/agent-workspace@7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/docs/contributing/Labeling-PRs.md
-
curl -L -o Labeling-PRs.md https://huggingface.co/luom2645/agent-workspace/resolve/7d4c5ffdb4518a5d7456ef06ab77458fcf42663a/flutter/docs/contributing/Labeling-PRs.md
836 Bytes
| # Labeling PRs | |
| Across the Flutter organization, the [labeler](https://github.com/actions/labeler) GitHub action is used per repo. | |
| For repos that already use it, only `.github/labeler.yml` needs to be edited. For bringing up new repos, `.github/workflows/labeler.yml` should be copied from an existing repo into the new repo. | |
| ## How to add new labels | |
| ```yaml | |
| macos: | |
| # **/* recursively searches all subdirectories and files | |
| - shell/platform/darwin/macos/**/* | |
| # For complex label names, it may need to be wrapped in quotes | |
| 'a: accessibility': | |
| - **/accessibility/* | |
| ``` | |
| ## Verifying changes in presubmit | |
| GitHub actions do not test changes in presubmit. To verify, copy your local change into a YAML linter to verify the file is not malformed. | |
| Once landed, you can look at new workflow runs to see if the matches are being used. |