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

fix: automerge with automatic token #124

Closed

Conversation

davdhacs
Copy link
Contributor

  • Give write access to the automatic action github token.
  • Use the automatic token in the action.

The automerge action needs a write-allow github token. Triggered by pull_request_target the action is not given the dependabot secrets:

For workflows initiated by Dependabot (github.actor == 'dependabot[bot]') using the pull_request_target event, if the base ref of the pull request was created by Dependabot (github.actor == 'dependabot[bot]'), the GITHUB_TOKEN will be read-only and secrets are not available.
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events

@davdhacs davdhacs requested a review from janisz August 22, 2024 16:46
@davdhacs davdhacs closed this Aug 26, 2024
@davdhacs
Copy link
Contributor Author

closed in favor of #125

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

Successfully merging this pull request may close these issues.

2 participants