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

[WIP] Allowing Testing on External Forks #1559

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

Conversation

AndrewQuijano
Copy link
Collaborator

@AndrewQuijano AndrewQuijano commented Dec 6, 2024

Hello,
Hope we can merge this and test this, but I think this provides the best solution to be able to run tests on external PRs.

https://dev.to/petrsvihlik/using-environment-protection-rules-to-secure-secrets-when-building-external-forks-with-pullrequesttarget-hci

@coolkingcole
Copy link
Collaborator

Will need to add protections provided by an environment that ensures approval from panda-re developers before running.

@AndrewQuijano
Copy link
Collaborator Author

Btw @coolkingcole, since the test workflow stores containers in GHCR, but it seems this is linked to a user account, not sure how pull_request_target would work for that. At least secure use of pull_request_target means that you can securely share secrets.

You might need to switch to storing test containers in DockerHub too. Just something to note when testing this.
https://hub.docker.com/r/pandare/panda_test

@AndrewQuijano AndrewQuijano changed the title Allowing Testing on External Forks [WIP] Allowing Testing on External Forks Dec 17, 2024
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