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] Replace workflow_run with workflow_dispatch #1274

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Conversation

jefchien
Copy link
Contributor

@jefchien jefchien commented Aug 6, 2024

Description of the issue

The workflow_run event doesn't provide the necessary context to run on non-default branches. This makes it difficult to test changes prior to merging the code and doesn't prevents concurrent runs.

Description of changes

Switches to the workflow_dispatch event for the dependent tests and uses the GitHub CLI workflow run command to start them. Each of the tests will now use the GitHub CLI run view command to check if the build-test-artifacts run has succeeded.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Did some tests on my fork to ensure that the commands work.

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@jefchien jefchien requested a review from a team as a code owner August 6, 2024 16:42
Copy link
Contributor

@okankoAMZ okankoAMZ left a comment

Choose a reason for hiding this comment

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

LGTM!

@jefchien jefchien merged commit 5a46112 into main Aug 6, 2024
233 of 371 checks passed
@jefchien jefchien deleted the fix-dispatch branch August 6, 2024 18: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.

3 participants