microsoft / winget-dsc

MIT License
23 stars 14 forks source link

Add Policy Bot Behaviors #108

Closed Trenly closed 2 weeks ago

Trenly commented 2 weeks ago

cc @denelon for repository onboarding and label updates


github-actions[bot] commented 2 weeks ago

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

Unrecognized words (3)

automerge msft requ

These words are not needed and should be removed denelon stephengillie Trenly

To accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands ... in a clone of the [git@github.com:Trenly/winget-dsc.git](https://github.com/Trenly/winget-dsc.git) repository on the `PolicyBot` branch ([:information_source: how do I use this?]( https://docs.check-spelling.dev/Accepting-Suggestions)): ``` sh curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.24/apply.pl' | perl - 'https://github.com/microsoft/winget-dsc/actions/runs/11689500692/attempts/1' ```
Pattern suggestions :scissors: (3) You could add these patterns to `.github/actions/spelling/patterns.txt`: ``` # Automatically suggested patterns # hit-count: 13 file-count: 5 # Compiler flags (?:^|[\t ,"'`=(])-[DPWXYLlf](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,}) # hit-count: 3 file-count: 1 # githubusercontent /[-a-z0-9]+\.githubusercontent\.com/[-a-zA-Z0-9?&=_\/.]* # hit-count: 2 file-count: 1 # GitHub SHAs (markdown) (?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|) ```
Warnings (2) #### See the [:open_file_folder: files](https://github.com/microsoft/winget-dsc/pull/108/files/) view, the [:scroll:action log](https://github.com/microsoft/winget-dsc/actions/runs/11689500692/job/32552372754#step:4:1), or [:memo: job summary](https://github.com/microsoft/winget-dsc/actions/runs/11689500692/attempts/1#summary-32552372754) for details. [:warning: Warnings](https://docs.check-spelling.dev/Event-descriptions) | Count -|- [:information_source: candidate-pattern](https://docs.check-spelling.dev/Event-descriptions#candidate-pattern) | 5 [:warning: token-is-substring](https://docs.check-spelling.dev/Event-descriptions#token-is-substring) | 1 See [:warning: Event descriptions](https://docs.check-spelling.dev/Event-descriptions) for more information.
If the flagged items are :exploding_head: false positives If items relate to a ... * binary file (or some other file you wouldn't want to check at all). Please add a file path to the `excludes.txt` file matching the containing file. File paths are Perl 5 Regular Expressions - you can [test]( https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files. `^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md]( ../tree/HEAD/README.md) (on whichever branch you're using). * well-formed pattern. If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it, try adding it to the `patterns.txt` file. Patterns are Perl 5 Regular Expressions - you can [test]( https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines. Note that patterns can't match multiline strings.
Trenly commented 2 weeks ago

Good to see that's working :D

github-actions[bot] commented 2 weeks ago

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

Unrecognized words (1)

msft

These words are not needed and should be removed denelon MSFT stephengillie Trenly

To accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands ... in a clone of the [git@github.com:Trenly/winget-dsc.git](https://github.com/Trenly/winget-dsc.git) repository on the `PolicyBot` branch ([:information_source: how do I use this?]( https://docs.check-spelling.dev/Accepting-Suggestions)): ``` sh curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.24/apply.pl' | perl - 'https://github.com/microsoft/winget-dsc/actions/runs/11689564557/attempts/1' ```
Pattern suggestions :scissors: (3) You could add these patterns to `.github/actions/spelling/patterns.txt`: ``` # Automatically suggested patterns # hit-count: 13 file-count: 5 # Compiler flags (?:^|[\t ,"'`=(])-[DPWXYLlf](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,}) # hit-count: 3 file-count: 1 # githubusercontent /[-a-z0-9]+\.githubusercontent\.com/[-a-zA-Z0-9?&=_\/.]* # hit-count: 2 file-count: 1 # GitHub SHAs (markdown) (?:\[`?[0-9a-f]+`?\]\(https:/|)/(?:www\.|)github\.com(?:/[^/\s"]+){2,}(?:/[^/\s")]+)(?:[0-9a-f]+(?:[-0-9a-zA-Z/#.]*|)\b|) ```
Notices (1) #### See the [:open_file_folder: files](https://github.com/microsoft/winget-dsc/pull/108/files/) view, the [:scroll:action log](https://github.com/microsoft/winget-dsc/actions/runs/11689564557/job/32552584132#step:4:1), or [:memo: job summary](https://github.com/microsoft/winget-dsc/actions/runs/11689564557/attempts/1#summary-32552584132) for details. [:information_source: Notices](https://docs.check-spelling.dev/Event-descriptions) | Count -|- [:information_source: candidate-pattern](https://docs.check-spelling.dev/Event-descriptions#candidate-pattern) | 5 See [:information_source: Event descriptions](https://docs.check-spelling.dev/Event-descriptions) for more information.
If the flagged items are :exploding_head: false positives If items relate to a ... * binary file (or some other file you wouldn't want to check at all). Please add a file path to the `excludes.txt` file matching the containing file. File paths are Perl 5 Regular Expressions - you can [test]( https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files. `^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md]( ../tree/HEAD/README.md) (on whichever branch you're using). * well-formed pattern. If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it, try adding it to the `patterns.txt` file. Patterns are Perl 5 Regular Expressions - you can [test]( https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines. Note that patterns can't match multiline strings.
Trenly commented 2 weeks ago

[Policy] Needs Attention [Policy] Needs Author Feedback [Policy] PSA [Policy] GitDsc [Policy] Microsoft.Windows.Setting.Accessibility [Policy] Area Bots [Policy] Blocking Issue [Policy] Help Wanted [Policy] In PR [Policy] Issue Bug [Policy] Issue Docs [Policy] Issue Feature [Policy] Microsoft.DotNet.Dsc [Policy] Microsoft.VsCode.Dsc [Policy] Microsoft.Windows.Developer [Policy] Needs CLA [Policy] New-DSC-Resource [Policy] YarnDsc [Policy] PythonPip3dsc

Trenly commented 2 weeks ago

Look at that wonderful array of labels :D

denelon commented 2 weeks ago

There will be more coming for the rest of the Microsoft.Windows.Setting.* modules.

Trenly commented 2 weeks ago

I'm sure there will be, just ping me when you add them and I'll get them into the bot

Trenly commented 2 weeks ago

[Policy] Reset Labels