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

Support triggering update sha workflow manually #5093

Merged
merged 2 commits into from
Jan 25, 2022

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Jan 22, 2022

Signed-off-by: Ben Ye ben.ye@bytedance.com

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Now the workflow is triggered by a cron job every day. But if the busybox image is updated after running the cron job that day, then the CI will be broken until the next day.

To support better control on this, I added support to trigger it manually. See doc https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch.

Verification

I am not sure if the current syntax is correct or not so would be great to have more eyes for review.

Signed-off-by: Ben Ye <ben.ye@bytedance.com>
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
Copy link
Member

@GiedriusS GiedriusS left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@GiedriusS
Copy link
Member

CI failure seems unrelated?

@GiedriusS GiedriusS merged commit 052ca95 into thanos-io:main Jan 25, 2022
Nicholaswang pushed a commit to Nicholaswang/thanos that referenced this pull request Mar 6, 2022
* support triggering update sha workflow manually

Signed-off-by: Ben Ye <ben.ye@bytedance.com>

* update syntax

Signed-off-by: Ben Ye <ben.ye@bytedance.com>
Signed-off-by: Nicholaswang <wzhever@gmail.com>
@yeya24 yeya24 deleted the support-triggering-update-sha branch March 7, 2022 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants