You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the GITHUB_TOKEN provided by workflows the token does not have permission to mention groups within an organization. for this to work. the private repos should have a GitHub app that can allow them to mention groups.
we should describe how to provide that information and what to follow if ppl needs to create their own app.
To expand a little bit here.
the permissions on secrets.GITHUB_TOKEN provided in a workflow is not sufficient to mention users and teams that belong to private organizations. This is often a problem because even tho use-herald-action will post correctly on the comment, Github will not mention the users (will not notify them) due to these permissions.
A solution to this will be issue #58, but in the meantime, a possible workaround is to pass a token from a Github App that has access to these permissions.
A way to do it without too much hassle is like is:
Create a Github App in that your organization controls and can grant access to it.
some other permission that ppl should know about: assign: it can only contain 10 users and not teams.
reviewers: teams (in private organizations) will fail silently if it can't apply the team as a reviewer. also, teams field and users are not interchangeable and if a team is listed as a user, GitHub API will reject that silently
When using the GITHUB_TOKEN provided by workflows the token does not have permission to mention groups within an organization. for this to work. the private repos should have a GitHub app that can allow them to mention groups.
we should describe how to provide that information and what to follow if ppl needs to create their own app.
To expand a little bit here.
the permissions on
secrets.GITHUB_TOKEN
provided in a workflow is not sufficient to mention users and teams that belong to private organizations. This is often a problem because even tho use-herald-action will post correctly on the comment, Github will not mention the users (will not notify them) due to these permissions.A solution to this will be issue #58, but in the meantime, a possible workaround is to pass a token from a Github App that has access to these permissions.
A way to do it without too much hassle is like is:
Create a Github App in that your organization controls and can grant access to it.
Find the GITHUB_APP_ID, GITHUB_APP_INSTALLATION_ID, and GITHUB_PRIVATE_KEY for that Github App and save it in secrets under your organization/repository
Provide needed permissions on PR's , comments, isusses (we can expand on this )
add a workflow to your existing
use-herald-action
that passes the following informationThe text was updated successfully, but these errors were encountered: