-
Notifications
You must be signed in to change notification settings - Fork 378
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
[Bug report] The CI cannot be triggered automatically when a backport PR is created by github bot #1282
Comments
Hi, After researching the solution to this issue, I found that this issue is caused by the default setting of GitHub, which prevents triggering a workflow from a workflow. The solution might be to set the According to the official GitHub action documentation, triggering a workflow from a workflow that is generated by the repository's
To solve this issue, the documentation gives us some methods:
The auto-cherry-pick workflow uses Tim |
Thanks a lot @BWbwchen for your investigation, greatly appreciated. Let me see how to use PAT to solve this issue. |
It seems that we can use the PAT of the organization. I can help to contribute to the auto-cherry-pick workflow file. Since I don't have permission to set the PAT for the organization, I might need your help to set a PAT for solving this issue. |
Thanks a lot @BWbwchen , let me check how to create the organization PAT. It would be greatly helpful if you can help improve the auto-cherry-pick workflow. |
…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]>
…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]>
…flow (#1342) 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]> Co-authored-by: Bo-Wei Chen <[email protected]>
Describe what's wrong
When a backport PR is created by github bot, it cannot automatically trigger the CI, we have to manually close and reopen the PR to trigger it, it's not so convenient.
Error message and/or stacktrace
No
How to reproduce
Just create a backport PR can trigger this issue.
Additional context
No response
The text was updated successfully, but these errors were encountered: