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

[improve][CI] Support GitHub Actions approval solution on maintenance branches #17770

Merged

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Sep 21, 2022

Motivation

The GitHub Actions approval solution is also useful for maintenance branches to cut unnecessary builds.
branch-2.11 contains a similar workflow as master branch and it will also be useful to port the approval to other
maintenance branches as a way to prevent unnecessary builds.

Modifications

Remove the hard coding of master branch in the script which generates the link for opening a PR in your fork.

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

Matching PR in forked repository

PR in forked repository: lhotari#90

@lhotari lhotari self-assigned this Sep 21, 2022
@lhotari lhotari force-pushed the lh-pulsar-ci-approval-maintenance-branches branch from f20ceea to 67f5b62 Compare September 21, 2022 12:03
lhotari added a commit that referenced this pull request Sep 21, 2022
- #17148 changes aren't in branch-2.11
- sync pulsar_ci_tool.sh with #17770
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 21, 2022
@lhotari
Copy link
Member Author

lhotari commented Sep 26, 2022

This is not relevant at the moment, but will be helpful if we later on expand the approval solution to cover maintenance branches like branch-2.10 or older where builds get currently triggered for pull requests.

@lhotari
Copy link
Member Author

lhotari commented Sep 26, 2022

/pulsarbot rerun-failure-checks

@lhotari lhotari merged commit 49eaa54 into apache:master Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci doc-not-needed Your PR changes do not impact docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants