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

fix(stage-build): trigger next version of workflow on schedule #10931

Merged
merged 1 commit into from Apr 16, 2024

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Apr 16, 2024

Summary

Follow-up of #10930 (MP-1055).

Problem

The scheduled workflow runs the workflow from main, but if we adjust the stage build in next, that's not what we want.

Solution

When running on schedule, call the same workflow, but using an workflow_dispatch event (as if it was run manually).


How did you test this change?

We won't know if it works until we merge this.

@caugner caugner marked this pull request as ready for review April 16, 2024 20:34
@caugner caugner requested a review from a team as a code owner April 16, 2024 20:34
Ensures that we use the workflow from the `next` branch.
@caugner caugner force-pushed the fix-stage-build-trigger-run-on-schedule branch from 67d4780 to a1ff56d Compare April 16, 2024 20:36
@caugner caugner changed the title fix(stage-build): trigger workflow from next on schedule fix(stage-build): trigger next version of workflow on schedule Apr 16, 2024
Copy link
Contributor Author

@caugner caugner left a comment

Choose a reason for hiding this comment

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

Self-approval.

@caugner caugner merged commit 9876306 into main Apr 16, 2024
13 checks passed
@caugner caugner deleted the fix-stage-build-trigger-run-on-schedule branch April 16, 2024 20:41
@caugner caugner changed the title fix(stage-build): trigger next version of workflow on schedule fix(stage-build): trigger next version of workflow on schedule Apr 16, 2024
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.

None yet

1 participant