Promote ETL workflow_dispatch trigger to main#30
Merged
Merged
Conversation
Adds manual-trigger capability to etl-test.yml and etl-prod.yml so operators can re-run an ETL job without having to push a no-op deploy to retrigger the workflow_run chain. Motivation: workflow_run-triggered runs use the workflow file frozen at the moment the trigger fires (and reruns use that same frozen file, not current main). When a workflow file fix lands on main after a workflow_run has already been created, neither auto-retry nor 'gh run rerun' picks up the fix. The only recovery options were either to wait for the next deploy or to push a no-op commit through the promotion chain. workflow_dispatch removes that friction. Updates the job's if-condition to allow either trigger: - workflow_run: gated on upstream deploy success (unchanged behavior) - workflow_dispatch: always runs GitHub Environment protection rules on Test/Prod still apply to the reusable workflow's job, so any approval gates remain in effect for manual runs.
Promote ETL workflow_dispatch trigger to test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes #29 from
testtomain. Addsworkflow_dispatchtrigger to ETL workflows for manual re-runs.