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

Create GitHub App / Bot / Integration #55

Open
swissspidy opened this issue Sep 24, 2018 · 2 comments
Open

Create GitHub App / Bot / Integration #55

swissspidy opened this issue Sep 24, 2018 · 2 comments
Labels
[Status] Maybe later Worth reconsidering at some point in the future [Type] Enhancement New functionality [Type] Question Support requests and other types of questions

Comments

@swissspidy
Copy link
Collaborator

Advantages:

  • Easier to use
  • No need to manually create webhooks
  • Status updates / progress for GitHub pull requests
  • Inline annotations in pull requests for faulty text strings marked by WP-CLI
@swissspidy swissspidy added [Type] Enhancement New functionality [Type] Question Support requests and other types of questions labels Sep 24, 2018
@swissspidy
Copy link
Collaborator Author

Ideally we'd have 1 GitHub bot for all areas of our development workflow (translations, deployments, coding standards).

However, for other people it might be easier if there's a single bot for Traduttore they can use in their projects.

@ocean90
Copy link
Member

ocean90 commented Sep 29, 2020

How to create a GitHub App:

  • Go to https://github.com/organizations/<name>/settings/apps/new
  • Enter name, description
  • Check the "Active" checkbox in the Webhook section
  • Enter the endpoint URL and secret(TRADUTTORE_GITHUB_SYNC_SECRET)
  • In the Repository permissions section enable "Read-only" access for "Contents"
  • Scroll down to the Subscribe to events section and check the "Push" checkbox
  • Define who can install the app (leave "Only on this account" for a private app)
  • Now you can install the app which automatically has access to all repos or the ones you have defined during the installation, no need to enter the webhook per repo anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Maybe later Worth reconsidering at some point in the future [Type] Enhancement New functionality [Type] Question Support requests and other types of questions
Projects
None yet
Development

No branches or pull requests

2 participants