Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDEAL-16: Update spelling #303

Merged
merged 9 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/actions/spelling/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ inputs:
Repository with default configuration to use when the workspace repository doesn't have its own configuration. The
default from Check Spelling is ''.
required: false
default: Lombiq/GitHub-Actions@dev
default: Lombiq/GitHub-Actions@issue/TDEAL-16
post-comment:
description: Flag for if check-spelling should post comment, the default is 1.
required: false
Expand Down Expand Up @@ -130,7 +130,7 @@ runs:
shell: pwsh
run: |
$defaultPrefixes = @{
'lombiq-lgha' = 'https://raw.githubusercontent.com/Lombiq/GitHub-Actions/dev/.github/actions/spelling/'
'lombiq-lgha' = 'https://raw.githubusercontent.com/Lombiq/GitHub-Actions/issue/TDEAL-16/.github/actions/spelling/'
'cspell' = 'https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/'
}

Expand Down Expand Up @@ -207,3 +207,4 @@ runs:
lombiq-lgha:dictionaries/Liquid.txt
lombiq-lgha:dictionaries/Lombiq.common.txt
lombiq-lgha:dictionaries/Lombiq.people.txt
lombiq-lgha:dictionaries/Security.txt
4 changes: 4 additions & 0 deletions .github/actions/spelling/dictionaries/Security.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
amd
clickjacking
nosniff
softwaresecurityproject
2 changes: 1 addition & 1 deletion .github/workflows/spelling-this-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ on:
jobs:
spelling:
name: Spelling
uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@issue/TDEAL-16
6 changes: 3 additions & 3 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ on:
Repository with default configuration to use when the workspace repository doesn't have its own configuration.
The default from Check Spelling is ''.
type: string
default: Lombiq/GitHub-Actions@dev
default: Lombiq/GitHub-Actions@issue/TDEAL-16
timeout-minutes:
type: number
default: 3
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

- name: Check Spelling
id: check-spelling-action
uses: Lombiq/GitHub-Actions/.github/actions/spelling@dev
uses: Lombiq/GitHub-Actions/.github/actions/spelling@issue/TDEAL-16
with:
merge-file-excludes: ${{ inputs.merge-file-excludes }}
merge-forbidden-patterns: ${{ inputs.merge-forbidden-patterns }}
Expand All @@ -138,7 +138,7 @@ jobs:
if: always() && needs.check-spelling.outputs.followup && github.event_name == 'pull_request'
steps:
- name: Comment (PR)
uses: Lombiq/GitHub-Actions/.github/actions/spelling@dev
uses: Lombiq/GitHub-Actions/.github/actions/spelling@issue/TDEAL-16
with:
post-comment: 1
task: ${{ needs.check-spelling.outputs.followup }}