From 91dd4c6f970e4bcdbbeabdab1aedf0d5d8fd220b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Wed, 13 Mar 2024 19:45:11 +0100 Subject: [PATCH 1/4] Add JOptions spelling. --- .github/actions/spelling/action.yml | 4 ++-- .github/actions/spelling/dictionaries/Lombiq.common.txt | 1 + .github/workflows/spelling-this-repo.yml | 2 +- .github/workflows/spelling.yml | 6 +++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/actions/spelling/action.yml b/.github/actions/spelling/action.yml index 2effdc400..f7553ca11 100644 --- a/.github/actions/spelling/action.yml +++ b/.github/actions/spelling/action.yml @@ -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/OSOE-795 post-comment: description: Flag for if check-spelling should post comment, the default is 1. required: false @@ -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/OSOE-795/.github/actions/spelling/' 'cspell' = 'https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/' } diff --git a/.github/actions/spelling/dictionaries/Lombiq.common.txt b/.github/actions/spelling/dictionaries/Lombiq.common.txt index ef5b649e9..a0371bf9d 100644 --- a/.github/actions/spelling/dictionaries/Lombiq.common.txt +++ b/.github/actions/spelling/dictionaries/Lombiq.common.txt @@ -56,6 +56,7 @@ IXL JArray jira JObject +JOptions JProperty JToken jsnext diff --git a/.github/workflows/spelling-this-repo.yml b/.github/workflows/spelling-this-repo.yml index cc1d2dd9b..e9cbf1f52 100644 --- a/.github/workflows/spelling-this-repo.yml +++ b/.github/workflows/spelling-this-repo.yml @@ -11,7 +11,7 @@ on: jobs: spelling: name: Spelling - uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@issue/OSOE-795 with: additional-dictionaries: | cspell:companies/src/companies.txt diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 0348e9230..c52de15ce 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -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/OSOE-795 timeout-minutes: type: number default: 3 @@ -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/OSOE-795 with: merge-file-excludes: ${{ inputs.merge-file-excludes }} merge-forbidden-patterns: ${{ inputs.merge-forbidden-patterns }} @@ -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/OSOE-795 with: post-comment: 1 task: ${{ needs.check-spelling.outputs.followup }} From a24ea86403f7d78c9ebcb528b60b05a2e89c742f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 23 Apr 2024 11:40:12 +0200 Subject: [PATCH 2/4] Add JNode to spelling --- .github/actions/spelling/dictionaries/Lombiq.common.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/spelling/dictionaries/Lombiq.common.txt b/.github/actions/spelling/dictionaries/Lombiq.common.txt index a0371bf9d..c1049bde0 100644 --- a/.github/actions/spelling/dictionaries/Lombiq.common.txt +++ b/.github/actions/spelling/dictionaries/Lombiq.common.txt @@ -55,6 +55,7 @@ Intelli IXL JArray jira +JNode JObject JOptions JProperty From a597d07134adda50251a8e4e6624060c4b432dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zsef=20Horv=C3=A1th?= Date: Tue, 14 May 2024 23:50:45 +0200 Subject: [PATCH 3/4] dummy From f285425491cf8570fefa543dcf2b81f28481d66d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zsef=20Horv=C3=A1th?= Date: Tue, 14 May 2024 23:53:32 +0200 Subject: [PATCH 4/4] Targeting dev branch in actions and workflows --- .github/actions/spelling/action.yml | 2 +- .github/workflows/spelling-this-repo.yml | 2 +- .github/workflows/spelling.yml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/spelling/action.yml b/.github/actions/spelling/action.yml index f7553ca11..1fc0bee6d 100644 --- a/.github/actions/spelling/action.yml +++ b/.github/actions/spelling/action.yml @@ -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@issue/OSOE-795 + default: Lombiq/GitHub-Actions@dev post-comment: description: Flag for if check-spelling should post comment, the default is 1. required: false diff --git a/.github/workflows/spelling-this-repo.yml b/.github/workflows/spelling-this-repo.yml index e9cbf1f52..cc1d2dd9b 100644 --- a/.github/workflows/spelling-this-repo.yml +++ b/.github/workflows/spelling-this-repo.yml @@ -11,7 +11,7 @@ on: jobs: spelling: name: Spelling - uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@issue/OSOE-795 + uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@dev with: additional-dictionaries: | cspell:companies/src/companies.txt diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index c52de15ce..0348e9230 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -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@issue/OSOE-795 + default: Lombiq/GitHub-Actions@dev timeout-minutes: type: number default: 3 @@ -111,7 +111,7 @@ jobs: - name: Check Spelling id: check-spelling-action - uses: Lombiq/GitHub-Actions/.github/actions/spelling@issue/OSOE-795 + uses: Lombiq/GitHub-Actions/.github/actions/spelling@dev with: merge-file-excludes: ${{ inputs.merge-file-excludes }} merge-forbidden-patterns: ${{ inputs.merge-forbidden-patterns }} @@ -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@issue/OSOE-795 + uses: Lombiq/GitHub-Actions/.github/actions/spelling@dev with: post-comment: 1 task: ${{ needs.check-spelling.outputs.followup }}