config: update 'verify-no-exception-configs' validation to not fail build if some contribution PR is referenced in description#7296
Merged
Conversation
pbludov
approved these changes
Dec 2, 2019
rnveach
approved these changes
Dec 3, 2019
| if [[ $DIFF_TEXT != "" ]]; then | ||
| if [[ $TRAVIS_PULL_REQUEST =~ ^([0-9]+)$ ]]; then | ||
| LINK_PR=https://api.github.com/repos/checkstyle/checkstyle/pulls/$TRAVIS_PULL_REQUEST | ||
| REGEXP="https://github.com/checkstyle/contribution/pull/" |
Contributor
There was a problem hiding this comment.
2 things:
- It might be nice if there is a check that the PR in other repo actually fulfills missing Check(s).
- When merged and master CI runs, it would be nice if we check that the referenced PR is already merged, otherwise master should fail.
Member
Author
There was a problem hiding this comment.
It might be nice if there is a check that the PR in other repo actually fulfills missing Check(s).
it would be nice if we check that the referenced PR is already merged
as this validation is executed on master too, it will fail.
As it looks for PR only when there is a diff between files in master of both repositories.
rnveach
reviewed
Dec 3, 2019
rnveach
left a comment
Contributor
There was a problem hiding this comment.
Sorry, just thought of this.
…uild if some contribution PR is referenced in description
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.
I really tiered to recheck Travis state when new Check is introduced ....
so here is extra hacking to ease this problem.
I do check any PR link as if it present it will be verified by human, so any link to contributions pools is ok for now. We can make validation more exact later on if required.
tested on #7228
testing: