-
Notifications
You must be signed in to change notification settings - Fork 31
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
Run sanity checks on PR base branch change #1715
Run sanity checks on PR base branch change #1715
Conversation
aef1519
to
2cb9197
Compare
ac1c02b
to
e65b03b
Compare
e65b03b
to
d7c0891
Compare
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master, release*] | ||
types: [opened, synchronize, reopened, edited] |
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.
The event types preceding edited
are the default ones.
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.
what is When updating the base branch, no sanity-checks are run
means?
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.
Currently (before this PR), when you change the base branch (i.e. from master
to release-.x.x
) the sanity checks (build, lint, unit tests, etc) are not run, only the E2E tests.
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.
ack
/retest |
/approve |
cc: @SanjalKatiyar and @bipuladh to tag |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alfonsomthd, GowthamShanmugam, SanjalKatiyar The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
2d49e49
into
red-hat-storage:master
@SanjalKatiyar @bipuladh ping. |
Please ignore the ping. |
/cherrypick release-4.18 release-4.18-compatibility |
@alfonsomthd: new pull request created: #1733 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherry-pick release-4.17 |
/cherry-pick release-4.17-compatibility |
/cherry-pick release-4.16 |
/cherry-pick release-4.16-compatibility |
@alfonsomthd: new pull request created: #1734 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@alfonsomthd: new pull request created: #1735 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherry-pick release-4.15 |
/cherry-pick release-4.15-compatibility |
/cherry-pick release-4.14 |
@alfonsomthd: new pull request created: #1736 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherry-pick release-4.14-compatibility |
@alfonsomthd: new pull request created: #1737 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@alfonsomthd: new pull request created: #1738 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@alfonsomthd: new pull request created: #1739 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@alfonsomthd: #1715 failed to apply on top of branch "release-4.14-compatibility":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherry-pick release-4.18-compatibility |
@alfonsomthd: new pull request created: #1742 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
The pull_request
edited
event type is the only one that detects a change in the base branch, so we're adding it to the list of event types to prevent the following scenarios:NOTE: the side effect is when editing the title or PR description, sanity-checks will be re-triggered. Although not ideal, it's better than adding a condition on the job to not run it on title/description changes, as the job is marked as skipped: misleading (we don't know if the previous run was successful or not).