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

Enable bot to use workflow_run event #93

Closed
Bullrich opened this issue Oct 11, 2023 · 0 comments · Fixed by #94
Closed

Enable bot to use workflow_run event #93

Bullrich opened this issue Oct 11, 2023 · 0 comments · Fixed by #94
Assignees

Comments

@Bullrich
Copy link
Contributor

Using the example from the workflow_run documentation and from this stack overflow question ([How to use secret in pull_request_review similar to pull_request_target?](https://stackoverflow.com/questions/67247752/how-to-use-secret-in-pull-request-review-similar-to-pull-request-target)) let's prepare the project to use this technique instead.

It is easier to use and it may allows us to use environments and keep the secrets even secreter.

@Bullrich Bullrich self-assigned this Oct 11, 2023
Bullrich added a commit that referenced this issue Oct 16, 2023
This allows is to fetch the PR directly instead of obtaining it from the event. It is an alternative solution for when we are using a dispatch event.

Resolves #93
Bullrich added a commit that referenced this issue Oct 17, 2023
This allows is to fetch the PR directly instead of obtaining it from the
event. It is an alternative solution for when we are using a dispatch
event.

This resolves #93

This also allows the use of `environment` because every event is being
triggered from the default branch.

I also updated dependencies.
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 a pull request may close this issue.

1 participant