Repository navigation
Use Mergify for PR Size Comments - #1099
Conversation
|
Important Cloud Posse Engineering Team Review RequiredThis pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes. To expedite this process, reach out to us on Slack in the |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis change updates the GitHub Actions workflow defined in the Changes
Sequence Diagram(s)sequenceDiagram
participant PR as "Pull Request Event"
participant WF as "GitHub Workflow"
participant SL as "PR Size Labeler"
participant M as "Mergify"
PR->>WF: Trigger workflow on PR
WF->>SL: Execute PR Size Labeler step
SL-->>WF: Return size data
PR->>M: Add label size/xl
M-->>PR: Post warning comment about size
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (3)
.github/workflows/codeql.yml (3)
79-79: Remove trailing whitespace.
There are extra spaces at the end of line 79. Please remove them to meet YAML linting standards.- +🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 79-79: trailing spaces
(trailing-spaces)
98-98: Remove trailing whitespace.
Trailing spaces were detected on this line—please remove them to ensure the YAML file complies with formatting guidelines.- +🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 98-98: trailing spaces
(trailing-spaces)
99-117: Verify "PR Size Warning Comment" Conditions and Messaging.
This step is set to execute whensteps.size-labeler.outputs.size == 's', yet the warning message refers to exceeding a 1,000 line limit, which seems inconsistent given that a size's'label typically corresponds to a much smaller range. Please review whether the condition should trigger for a larger PR size (perhaps'l'or'xl') or if the message needs to be updated accordingly.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/codeql.yml(2 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/codeql.yml
[error] 79-79: trailing spaces
(trailing-spaces)
[error] 98-98: trailing spaces
(trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Build (windows-latest, windows)
- GitHub Check: Summary
🔇 Additional comments (1)
.github/workflows/codeql.yml (1)
80-97: New "PR Size Labeler (Labels Only)" Step Configuration.
The newly added step appears to correctly invoke thecodelytv/pr-size-labeler@v1action with appropriate parameters for labeling pull requests. Just make sure that the thresholds (e.g.,xs_max_size,s_max_size, etc.) align with your intended sizing categories.
7c83d77 to
110ed80
Compare
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/codeql.yml (1)
79-79: Remove Trailing Spaces.
There are trailing spaces on line 79 which trigger YAML lint errors. Please remove any unnecessary trailing whitespace.🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 79-79: trailing spaces
(trailing-spaces)
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/codeql.yml(2 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/codeql.yml
[error] 79-79: trailing spaces
(trailing-spaces)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Build (windows-latest, windows)
- GitHub Check: Analyze (go)
- GitHub Check: Summary
🔇 Additional comments (2)
.github/workflows/codeql.yml (2)
94-94: Consolidated Files to Ignore Format.
Thefiles_to_ignoreparameter has been reformatted to a single-line space-separated string. Please verify that this format meets the expected input for the action and correctly ignores all specified files.
97-97: Unified Message Formatting.
Themessage_if_xlparameter is now a single-line string introducing newline escape sequences for formatting. Confirm that the message renders as intended during execution.
Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
* fix comment and line breaks * comment test * test changes * this should not trigger another one * fix multiple msg * fix multiple msg * remove test file * Update .github/workflows/codeql.yml Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> * add test file * delete test file --------- Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
|
These changes were released in v1.165.0. |
* fix permissions * codecov * Implement PR Size Labeler (#1098) * added PR size labeler * fix permissions * fix permissions * Apply suggestions from code review --------- Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> * Use Mergify for PR Size Comments (#1099) * fix comment and line breaks * comment test * test changes * this should not trigger another one * fix multiple msg * fix multiple msg * remove test file * Update .github/workflows/codeql.yml Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> * add test file * delete test file --------- Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> * fix: coverage run * clean up codecov * fix path * add comment * add comment * fix path debug * fix path part 2 * test config cov * test config cov * test config cov * test config cov * test codecov config * update ci * Update codecov.yml Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> * remove coverage file * unify tests * fix action codecov issue * Update codecov.yml Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> * Update .github/workflows/test.yml * Update test.yml * Update test.yml * Update codecov.yml --------- Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
what
why
references
Summary by CodeRabbit
size/xl, advising authors on the challenges of large pull requests and encouraging smaller, focused submissions.PR Size Labeleraction for improved functionality.PR Size Labelerjob for better readability.