-
-
Notifications
You must be signed in to change notification settings - Fork 2
Enable ignore by caller inputs #241
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
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughIntroduces a new optional workflow input Changes
Sequence Diagram(s)sequenceDiagram
participant Caller as Workflow caller
participant Reusable as reusable-cpp-linter.yml
participant Step as cpp-linter action
Note right of Reusable: Inputs include default ignore pattern\nand optional `cpp-linter-ignore-extra`
Caller->>Reusable: invoke workflow (may include cpp-linter-ignore-extra)
alt extra provided
Reusable->>Reusable: format ignore = default + "|" + extra
else none provided
Reusable->>Reusable: format ignore = default
end
Reusable->>Step: run cpp-linter(ignore: formatted ignore)
Step-->>Reusable: results (success / violations)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 inconclusive)
✅ Passed checks (1 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📝 WalkthroughWalkthroughA new input parameter Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (2)
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
burgholzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM.
This could deserve an entry in the upgrade guide to showcase the new feature.
|
@flowerthrower #255 just merged. This can be rebased now. |
Signed-off-by: burgholzer <[email protected]>
d04b809 to
aea1519
Compare
burgholzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @flowerthrower 🙏🏼
I took the liberty to fix things up here and rebase the PR.
This is all supposed to go into the v1.17.3 release and not yet another patch release.
Should be good to go now.
denialhaag
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM now. Just two small fixes to the changelog and upgrade guide. 🙂
Co-authored-by: Daniel Haag <[email protected]> Signed-off-by: Patrick Hopf <[email protected]>
Description
Added
cpp-linter-ignore-extrainput to allow ignoring additional files in C++ linterChecklist: