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

Danger fails on PRs from forks #69

Open
ohitsdaniel opened this issue Apr 30, 2021 · 0 comments
Open

Danger fails on PRs from forks #69

ohitsdaniel opened this issue Apr 30, 2021 · 0 comments

Comments

@ohitsdaniel
Copy link
Contributor

Bug description

GITHUB_TOKEN does not have write permission, i.e. cannot comment on issues, in PRs triggered from forks.

Steps to reproduce

Open a pull request from a fork.
Danger fails.

Expected behavior

Danger succeeds and posts a comment.

Solution

Add a bot user with write permission on issues / PRs and expose a personal access token of said user to the PR workflows.
(See Danger docs)

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

1 participant