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

chore(ci): improve pull_request_target handling on fast aws tests #1921

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

soonum
Copy link
Contributor

@soonum soonum commented Jan 7, 2025

Two commits to fix issues induced by handling pull_request_target to allow external contributions.

Previously pull_request and pull_request_target events were both
emitted thus leading one cancelling the other because of
concurrency group name format.
Since external contribution needs to be allowed we only need
pull_request_target event.
@soonum soonum added the ci label Jan 7, 2025
@soonum soonum requested a review from IceTDrinker January 7, 2025 13:37
@soonum soonum self-assigned this Jan 7, 2025
@cla-bot cla-bot bot added the cla-signed label Jan 7, 2025
@soonum soonum force-pushed the dt/ci/remove_event branch from 5d9592a to fac718d Compare January 7, 2025 14:11
@IceTDrinker
Copy link
Member

IceTDrinker commented Jan 7, 2025

ah damn the lint did not work as we use some should run properties somewhere

see https://github.com/zama-ai/tfhe-rs/actions/runs/12653100464/job/35257456503?pr=1921

@IceTDrinker
Copy link
Member

@soonum soonum force-pushed the dt/ci/remove_event branch from fac718d to 4b831aa Compare January 7, 2025 14:30
@zama-bot zama-bot removed the approved label Jan 7, 2025
This induces a failure if the job has to run AND if the triggering actor isn't a member of the zama-ai organization. That would help tfhe-rs maintainers to re-run only workflows that are supposed to run.

The reference is selected based on the event emitted.

We also now use token with restricted permission to check out the repository.
@soonum soonum force-pushed the dt/ci/remove_event branch from 4b831aa to 7e4176f Compare January 7, 2025 15:01
@soonum soonum requested a review from IceTDrinker January 7, 2025 15:40
@soonum soonum merged commit ba105cd into main Jan 7, 2025
106 of 107 checks passed
@soonum soonum deleted the dt/ci/remove_event branch January 7, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants