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

chore: improve cherry-picking process #11993

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

jschmid1
Copy link
Contributor

@jschmid1 jschmid1 commented Nov 10, 2023

Summary

Introduces a GitHub Action to our workflows, designed to automate the cherry-picking process for transferring commits to another repository, specifically 'kong-ee'. This action is triggered by a configurable label (cherry-pick kong-ee) when a pull request is merged.

Additionally, it automatically requests a review from the individual who merged the original pull request.

The action can be found here: https://github.com/jschmid1/cross-repo-cherrypick-action

Todos:

  • Create a fine-grained PAT (Personal Access Token) that has the required rights.
    • update action according to secret name
  • Create the label cherry-pick kong-ee and ensure that only kong employees are able to set this.

Fix: https://konghq.atlassian.net/browse/KAG-2980

@jschmid1 jschmid1 requested a review from a team November 10, 2023 14:22
@github-actions github-actions bot added the chore Not part of the core functionality of kong, but still needed label Nov 10, 2023
@curiositycasualty curiositycasualty self-requested a review November 13, 2023 17:43
@jschmid1 jschmid1 force-pushed the chore/improve-cherry-pick-process branch from 3a39777 to 8a8116b Compare November 17, 2023 09:50
@jschmid1 jschmid1 marked this pull request as ready for review November 17, 2023 09:58
@jschmid1 jschmid1 force-pushed the chore/improve-cherry-pick-process branch from 8a8116b to 155d6d2 Compare November 17, 2023 09:58
@jschmid1 jschmid1 added cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee and removed cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Nov 17, 2023
@jschmid1 jschmid1 force-pushed the chore/improve-cherry-pick-process branch from 155d6d2 to 7b1c7c9 Compare November 21, 2023 11:35
@jschmid1 jschmid1 added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Nov 21, 2023
@jschmid1
Copy link
Contributor Author

/cherry-pick

@jschmid1 jschmid1 merged commit 0485a76 into master Nov 22, 2023
25 checks passed
@jschmid1 jschmid1 deleted the chore/improve-cherry-pick-process branch November 22, 2023 08:52
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee chore Not part of the core functionality of kong, but still needed size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants