ci: switch ci trigger to pull_request_target for check-generate workflow#7336
Merged
pingsutw merged 1 commit intoflyteorg:mainfrom May 2, 2026
Merged
ci: switch ci trigger to pull_request_target for check-generate workflow#7336pingsutw merged 1 commit intoflyteorg:mainfrom
pingsutw merged 1 commit intoflyteorg:mainfrom
Conversation
switch the ci trigger fo check-generate workflow, adjust the method to get prRun, if can't find pr number in pull request event, then use sha to find the commit. Signed-off-by: SZL741023 <[email protected]>
pingsutw
approved these changes
May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracking issue
Related to: (#6845)
Why are the changes needed?
Because the fork PR doesn't have permission to push the ci image to ghcr.io when it is built with the related files are changed.
So change the workflow trigger to pull_request_target.
What changes were proposed in this pull request?
check-generate.ymlHow was this patch tested?
Test by the workflow being trigger in ci process.
Labels
Please add one or more of the following labels to categorize your PR:
This is important to improve the readability of release notes.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Original PR: #6952 #7040
Stack
If you do use
git townto manage PR Stacks, the stack relevant to this PRwill show below. Otherwise, you can ignore this section.
Docs link