Skip to content
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

[release-v0.12] SHIP-0038: Run CI on Release Branches #1543

Merged

Conversation

adambkaplan
Copy link
Member

Changes

Update our CI-oriented GitHub actions to run when commits merge in a release-v* branch, or a pull request is opened against a release-v* branch. With this change, future release branches will automatically have CI checks enabled. This commit should be backported to enable CI in a prior release branch.

This implements a portion of SHIP-0038.

See also shipwright-io/community#85

Submitter Checklist

  • Includes tests if functionality changed/was added
  • Includes docs if changes are user-facing
  • Set a kind label on this PR
  • Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

NONE

/kind cleanup

Update our CI-oriented GitHub actions to run when commits merge in a
`release-v*` branch, or a pull request is opened against a `release-v*`
branch. With this change, future release branches will automatically
have CI checks enabled. This commit should be backported to enable CI
in a prior release branch.

This implements a portion of SHIP-0038.

Signed-off-by: Adam Kaplan <[email protected]>
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 18, 2024
@openshift-ci openshift-ci bot added release-note-none Label for when a PR does not need a release note kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Mar 18, 2024
@openshift-ci openshift-ci bot requested review from otaviof and qu1queee March 18, 2024 13:40
@adambkaplan
Copy link
Member Author

gosec picked up a few items that should not block merge of this.

Once this PR merges, I can set up the branch protection rules.

Copy link
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 18, 2024
Copy link
Contributor

openshift-ci bot commented Mar 18, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SaschaSchwarze0

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 18, 2024
@sayan-biswas
Copy link

@adambkaplan @qu1queee Can we merge #1547 before? Should fix golangci-lint errors.

@SaschaSchwarze0
Copy link
Member

@adambkaplan @qu1queee Can we merge #1547 before? Should fix golangci-lint errors.

This is done.

@adambkaplanI am okay with either: you rebase and this PR gets fully green or we red-merge it.

@adambkaplan
Copy link
Member Author

Doing the "red button" merge on this, so that I can then set up the branch protection rules.

@adambkaplan adambkaplan merged commit f5fdcdf into shipwright-io:release-v0.12 Mar 19, 2024
11 of 13 checks passed
@adambkaplan adambkaplan deleted the release-v0.12-ci branch March 19, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. release-note-none Label for when a PR does not need a release note size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants