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

[#1282] bugfix(CI) Automatically trigger CI for auto-cherry-pick workflow #1337

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

BWbwchen
Copy link
Contributor

@BWbwchen BWbwchen commented Jan 5, 2024

Based on the document of github-cherry-pick-action, add token input to change the default token that the auto-cherry-pick workflow used.

Warning

Need to add a PAT to the organization with the name BOT_TOKEN.

What changes were proposed in this pull request?

Automatically trigger CI for auto-cherry-pick workflow with a customized token, instead of the default GITHUB_TOKEN, which is prohibited from triggering another workflow.

Why are the changes needed?

Fix: #1282

Does this PR introduce any user-facing change?

No user-facing change, but we should add a PAT to the organization with the name BOT_TOKEN.

How was this patch tested?

N/A

Based on the document of
[`github-cherry-pick-action`](https://github.com/marketplace/actions/github-cherry-pick-action#action-inputs)
, add token input to change the default token that the auto-cherry-pick workflow used.

Signed-off-by: Bo-Wei Chen(BWbwchen) <[email protected]>
@BWbwchen BWbwchen changed the title bugfix(CI) Automatically trigger CI for auto-cherry-pick workflow [#1282] bugfix(CI) Automatically trigger CI for auto-cherry-pick workflow Jan 5, 2024
@jerryshao
Copy link
Contributor

I have created a BOT_TOKEN, thanks @BWbwchen

image

@jerryshao jerryshao added need backport Issues that need to backport to another branch branch-0.3 labels Jan 5, 2024
@jerryshao
Copy link
Contributor

@BWbwchen thanks for the contribution, I will merge it to test if it works.

@jerryshao jerryshao merged commit 1888246 into apache:main Jan 5, 2024
11 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 5, 2024
…flow (#1337)

Based on the document of
[`github-cherry-pick-action`](https://github.com/marketplace/actions/github-cherry-pick-action#action-inputs),
add token input to change the default token that the auto-cherry-pick
workflow used.

> [!WARNING]  
> Need to add a PAT to the organization with the name `BOT_TOKEN`.

### What changes were proposed in this pull request?

Automatically trigger CI for auto-cherry-pick workflow with a customized
token, instead of the default `GITHUB_TOKEN`, which is prohibited from
triggering another workflow.

### Why are the changes needed?

Fix: #1282 

### Does this PR introduce _any_ user-facing change?

No user-facing change, but we should add a PAT to the organization with
the name `BOT_TOKEN`.

### How was this patch tested?

N/A

Signed-off-by: Bo-Wei Chen(BWbwchen) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-0.3 need backport Issues that need to backport to another branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug report] The CI cannot be triggered automatically when a backport PR is created by github bot
2 participants