Skip to content

chore(ci): Update check-spelling to 0.0.22#21733

Merged
jszwedko merged 13 commits intomasterfrom
jszwedko/upgrade-check-spelling
Nov 7, 2024
Merged

chore(ci): Update check-spelling to 0.0.22#21733
jszwedko merged 13 commits intomasterfrom
jszwedko/upgrade-check-spelling

Conversation

@jszwedko
Copy link
Collaborator

@jszwedko jszwedko commented Nov 7, 2024

Summary

Updates the check-spelling action to 0.0.22

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

How did you test this PR?

Replaced the trigger with pull_request so that it would run the workflow version from this PR. Successful run: https://github.com/vectordotdev/vector/actions/runs/11730011340/job/32676900007

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the "no-changelog" label to this PR.

Checklist

  • Please read our Vector contributor resources.
  • If this PR introduces changes Vector dependencies (modifies Cargo.lock), please
    run dd-rust-license-tool write to regenerate the license inventory and commit the changes (if any). More details here.

References

Reverts #21732

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
@jszwedko jszwedko added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Nov 7, 2024
@jszwedko jszwedko changed the title Jszwedko/upgrade check spelling chore(ci): Update check-spelling to 0.0.24 Nov 7, 2024
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
@jszwedko jszwedko changed the title chore(ci): Update check-spelling to 0.0.24 chore(ci): Update check-spelling to 0.0.22 Nov 7, 2024
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
@datadog-vectordotdev
Copy link

datadog-vectordotdev bot commented Nov 7, 2024

Datadog Report

Branch report: jszwedko/upgrade-check-spelling
Commit report: ff78532
Test service: vector

✅ 0 Failed, 7 Passed, 0 Skipped, 25.43s Total Time

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
@github-actions github-actions bot added the domain: external docs Anything related to Vector's external, public documentation label Nov 7, 2024
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
uses: check-spelling/check-spelling@v0.0.22
with:
suppress_push_for_open_pull_request: 1
suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -98,34 +98,39 @@ jobs:
use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }}
extra_dictionary_limit: 20
extra_dictionaries:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

v0.0.22 reorganized the cspell dictionaries signficantly as mentioned on https://github.com/check-spelling/check-spelling/releases/tag/v0.0.22 . I updated the list by removing all of them and looking at the suggestions from the check-spell action.

@@ -1,5 +1,6 @@
abcd
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cspell dictionaries were changed so I think this resulted in more words needing to be added to the expect.txt. Updated by running the apply.pl suggestion from the check-spelling results.

}
nonexistent: {
title: "Non-existent paths"
title: "Nonexistent paths"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Flagged by forbidden patterns.

@jszwedko
Copy link
Collaborator Author

jszwedko commented Nov 7, 2024

The last commit replaces the trigger to pull_request_target, but here is a successful run when I was testing with pull_request: https://github.com/vectordotdev/vector/actions/runs/11730011340/job/32676900007

@jszwedko jszwedko marked this pull request as ready for review November 7, 2024 19:39
@jszwedko jszwedko requested review from a team as code owners November 7, 2024 19:39
@jszwedko jszwedko enabled auto-merge November 7, 2024 19:41
@jszwedko
Copy link
Collaborator Author

jszwedko commented Nov 7, 2024

pull_request_target will fail since I updated expect.txt in this PR to be compatible with the new version of check-spelling

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
@jszwedko jszwedko disabled auto-merge November 7, 2024 19:42
Copy link
Member

@pront pront left a comment

Choose a reason for hiding this comment

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

Thank you!

@jszwedko jszwedko merged commit 0527544 into master Nov 7, 2024
@jszwedko jszwedko deleted the jszwedko/upgrade-check-spelling branch November 7, 2024 20:04
@jszwedko
Copy link
Collaborator Author

jszwedko commented Nov 7, 2024

Merged manually since the required changes to expect.txt were blocking merge when used with 0.0.22 (the version on master).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: external docs Anything related to Vector's external, public documentation no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants