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

Support pull_request_target event type #63

Merged
merged 1 commit into from
May 29, 2024

Conversation

Fishbowler
Copy link

The pull_request_target event is an alternative to the pull_request event but with some different security considerations. Docs.

We use it on private repositories to allow dependabot access to our secrets, safe in the knowledge that a private repo can't expose our secrets to drive-by malicious PRs.

This is a simple change that extends the logic for "pull_request" to "pull_request_target" for comparisons of changes, etc.

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