<#7336 ci: switch ci trigger to pull_request_targe...
# flyte-github
a
#7336 ci: switch ci trigger to pull_request_target for check-generate workflow Pull request opened by SZL741023 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.yml
• Changed the workflow trigger to pull_request_target in check-generate.yml. • Add other method to find the pr and check if it is running. • Add ref in check code to use the code from head repo. How 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: • added: For new features. • changed: For changes in existing functionality. • deprecated: For soon-to-be-removed features. • removed: For features being removed. • fixed: For any bug fixed. • security: In case of vulnerabilities This is important to improve the readability of release notes. Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Original PR: #6952 #7040 Stack If you do use
git town
to manage PR Stacks, the stack relevant to this PR will show below. Otherwise, you can ignore this section. Docs link flyteorg/flyte