Skip to content

Commit

Permalink
Add pattern for shields
Browse files Browse the repository at this point in the history
  • Loading branch information
Trenly committed Nov 26, 2024
1 parent d090bd4 commit 668bb4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/spelling/patterns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@

# ignore long runs of a single character:
\b([A-Za-z])\g{-1}{3,}\b

# Shields.io
\bshields\.io/[-\w/%?=&.:+;,]*

1 comment on commit 668bb4b

@github-actions
Copy link

Choose a reason for hiding this comment

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

@check-spelling-bot Report

🔴 Please review

See the 📜action log for details.

Unrecognized words (1)

img

To accept ✔️ these unrecognized words as correct, run the following commands

... in a clone of the [email protected]:Trenly/winget-pkgs.git repository
on the Patterns branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/Trenly/winget-pkgs/actions/runs/12036209419/attempts/1'
If the flagged items are 🤯 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 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 (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

Please sign in to comment.