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

Share secret securrely across fork #1084

Merged
merged 17 commits into from
Mar 5, 2025
Merged

Conversation

matouma
Copy link
Contributor

@matouma matouma commented Mar 2, 2025

Why are these changes needed?

Modify KFP workflow so we can securely share secret across forks- Initially this is being tested with kfp workflows that need the HF Token but will be extended to other workflows as well until the code get cleaned up over time.

The intent is to use pull_request_target to trigger the workflow. This will allow us to expose the secrets and then do a context switch to the new branch. However, before running the workflow, we verify that the user that is triggering the workflow is authorized to do so.

Related issue number (if any).

touma-I added 12 commits March 1, 2025 19:30
Signed-off-by: Maroun Touma <[email protected]>
Signed-off-by: Maroun Touma <[email protected]>
Signed-off-by: Maroun Touma <[email protected]>
Signed-off-by: Maroun Touma <[email protected]>
Signed-off-by: Maroun Touma <[email protected]>
Signed-off-by: Maroun Touma <[email protected]>
Signed-off-by: Maroun Touma <[email protected]>
@touma-I touma-I requested a review from roytman March 2, 2025 16:26
@touma-I touma-I marked this pull request as ready for review March 2, 2025 17:12
@touma-I touma-I marked this pull request as draft March 2, 2025 18:44
Signed-off-by: Maroun Touma <[email protected]>
@touma-I touma-I marked this pull request as ready for review March 5, 2025 18:31
Copy link
Member

@roytman roytman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@touma-I touma-I merged commit 6dc6db6 into IBM:dev Mar 5, 2025
4 checks passed
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.

3 participants