Skip to content

feat: allow checkout of fork repo on workflow approval #1635

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

Closed
wants to merge 13 commits into from

Conversation

samrose
Copy link
Collaborator

@samrose samrose commented Jun 10, 2025

What kind of change does this PR introduce?

When someone outside of the supabase organization submits a PR, and if their running of workflows is approved by a supabase maintainer after thorough review, then the gh action workflow needs to be able to checkout the code from the submitting repo.

This PR addresses the issue for Nix CI build, and may also include changes after testing for other workflows.

@samrose samrose marked this pull request as ready for review June 10, 2025 19:15
@samrose samrose requested review from a team as code owners June 10, 2025 19:15
jfroche added a commit to jfroche/postgres that referenced this pull request Jun 16, 2025
jfroche added a commit to jfroche/postgres that referenced this pull request Jun 16, 2025
samrose pushed a commit that referenced this pull request Jun 17, 2025
* feat: allow checkout of fork repository on workflow approval

Based on #1635

* Do not use secrets if they are not available

In the forks, secrets are not available.
@samrose
Copy link
Collaborator Author

samrose commented Jun 17, 2025

closed/deprecated in favor of #1644

@samrose samrose closed this Jun 17, 2025
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