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

chore: fix hermetic_library_generation fork check #2159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

diegomarquezp
Copy link
Contributor

This inlines the repo.full_name as an env var when checking if the PR is coming from a fork in order to prevent script injections.

The current state doesn't work properly because github.env cannot be accessed in the if statement.

This inlines the `repo.full_name` as an env var when checking if the PR is coming from a fork in order to prevent script injections.

The current state doesn't work properly because `github.env` cannot be accessed in the `if` statement.
@diegomarquezp diegomarquezp requested review from a team as code owners September 5, 2024 14:29
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: pubsub Issues related to the googleapis/java-pubsub API. labels Sep 5, 2024
@michaelpri10
Copy link
Contributor

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/java-pubsub API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants