Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft committed Nov 13, 2024
1 parent 6898420 commit f9d4dc9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
28 changes: 19 additions & 9 deletions .github/actions/spelling/expect/generic_terms.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
wildcards
ssh
AKV
Amd
usr
screenshots
Authenticode
automerge
currentstate
esrp
gtm
msft
NPH
Peet
rfc
SAMPLESNUGETAPIKEY
screenshots
Scrollbars
Searchbox
VGpu
versioning
worktree
SFP
Signtool
sortby
msft
automerge
ssh
usr
versioning
VGpu
wildcards
Workaround
worktree
4 changes: 3 additions & 1 deletion pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ extends:
$moduleFolder = "$(System.DefaultWorkingDirectory)/ModuleToPublish/${{ parameters.moduleName }}"
Get-ChildItem -Path $moduleFolder -Recurse
$moduleFolderPath = (Resolve-Path $moduleFolder).Path
Publish-Module -Path $moduleFolderPath -Repository PSGallery -NuGetApiKey ${env:DSCSAMPLESNUGETAPIKEY} -verbose
Publish-Module -Path $moduleFolderPath -Repository PSGallery -NuGetApiKey $env:api_key -verbose
displayName: Publish ${{ parameters.moduleName }}'
env:
api_key: $(DscSamplesNugetApiKey)

1 comment on commit f9d4dc9

@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 or 📝 job summary for details.

Unrecognized words (1)

worktree

These words are not needed and should be removed cspell LASTEXITCODE NUnit SAMPLESNUGETAPIKEY Toolpackage Workaround

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 [email protected]:microsoft/winget-dsc.git repository
on the createPublishPipeline branch (ℹ️ how do I use this?):

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/11827528477/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.