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: remove path filter #10773

Merged
merged 2 commits into from
May 2, 2024
Merged

chore: remove path filter #10773

merged 2 commits into from
May 2, 2024

Conversation

JoeWang1127
Copy link
Contributor

@JoeWang1127 JoeWang1127 commented May 1, 2024

In this PR:

  • Remove path filter in hermetic library generation workflow because the script that called by the workflow can handle a pull request which doesn't contain changes to generation_config.yaml.
  • Do not allow manually invocation because the workflow requires a pull request.
  • Do not run hermetic library generation workflow after merging a pull request.

After merging this PR, the workflow will be triggered whenever there's a pull request is opened or edited so that we can make it required.

@JoeWang1127 JoeWang1127 marked this pull request as ready for review May 1, 2024 22:27
@JoeWang1127 JoeWang1127 requested a review from a team as a code owner May 1, 2024 22:27
pull_request:
paths:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you remind me what is the trigger now? I guess we don't need it because the logic here should cover all the cases?
I guess it is the same reason we don't allow manual invocation anymore, because manual invocation would not do anything due to no generation_config.yaml change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you remind me what is the trigger now?

Whenever there's a pull request open/edited in the repo, the workflow will be triggered.

We don't need the paths since the script can handle it (the logic you mentioned). All we need is a pull request and manual invocation doesn't have one.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, do you mind adding these info to the PR description?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@blakeli0 blakeli0 left a comment

Choose a reason for hiding this comment

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

LGTM. Please update the PR description before merging.

@JoeWang1127 JoeWang1127 merged commit 225768e into main May 2, 2024
31 checks passed
@JoeWang1127 JoeWang1127 deleted the chore/remove-path-filter branch May 2, 2024 22:43
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