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

I want to use my own bot #90

Closed
yizhihenpidehou opened this issue Sep 3, 2023 · 5 comments
Closed

I want to use my own bot #90

yizhihenpidehou opened this issue Sep 3, 2023 · 5 comments

Comments

@yizhihenpidehou
Copy link

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

@Issues-translate-bot Issues-translate-bot changed the title I want to use my own bot I want to use my own bot Sep 3, 2023
@tomsun28
Copy link
Member

tomsun28 commented Sep 3, 2023

hi please follow this

  1. Create a new github account as your bot
  2. Use the account to generate a new token as BOT_GITHUB_TOKEN
  3. Add the Secrets BOT_GITHUB_TOKEN = ${token} in your project

And make sure your github bot account has permission to access the repository

@yizhihenpidehou
Copy link
Author

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

@yizhihenpidehou
Copy link
Author

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. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

@tomsun28
Copy link
Member

tomsun28 commented Sep 3, 2023

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.

@yizhihenpidehou
Copy link
Author

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants