I want to use my own bot
yizhihenpidehou opened this issue Β· comments
I did not make sure that I have generated correct token in my bot account. Could you please give me some help, because GitHub workflow give me following error message:
Resource not accessible by personal access token
hi please follow this
- Create a new github account as your bot
- Use the account to generate a new token as BOT_GITHUB_TOKEN
- Add the Secrets BOT_GITHUB_TOKEN = ${token} in your project
And make sure your github bot account has permission to access the repository
Thanks for your reply. I try to invite my bot account to my repo and give him Triage role, but I still fail to achieve it. T T
Above question is done. But I have another question! I wonder if I can remove the hint in the response such as :
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
by config CUSTOM_BOT_NOTE
steps:
- uses: usthe/issues-translate-action@v2.7
with:
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
# not require. Customize the translation robot prefix message.
Thank you very much!