Repository navigation
Conversation
target is more clear what it's for
Describe() now gets HEAD and its parents with `git rev-list --parents -n 1 HEAD`. If HEAD has two parents, and the first parent is an ancestor of the target branch, then HEAD is a merge into the target branch. In this case pint uses the second parent, which is the last commit on the branch. In all other cases pint uses HEAD, including a normal branch checkout and a merge of main into the branch. Describe() now takes the target branch, because it needs the target branch to make this check.
There was a problem hiding this comment.
This pull request was validated by pint.
❗ Problems found.
| Severity | Number of problems |
|---|---|
| Information | 5 |
Stats
| Stat | Value |
|---|---|
| Version | v0.89.4-37-g533f8157 |
| Number of rules parsed | 22 |
| Number of rules checked | 22 |
| Number of problems found | 5 |
| Number of offline checks | 5 |
| Number of online checks | 0 |
| Checks duration | 5ms |
Problems
Information: problem reported by config rule (rule/report)
---> .github/pint/rules/reject.yml:4-10 -> `Bad Label Key` [+4 duplicates]
4 | - alert: Bad Label Key
^^^^^^^^^^^^^ Rules in this file are intentionally broken for testing.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2031 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 115 115
Lines 13947 13923 -24
=========================================
- Hits 13947 13923 -24 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Benchmark diff: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.