Enhance workflow with manual dispatch and inputs#26
Open
Conversation
Add manual trigger with commit SHA input to workflow Signed-off-by: KeyMatrix <mus.musayev@gmail.com>
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the GitHub Actions workflow to support manual execution with targeted commit selection. The workflow can now be triggered manually with a specific commit SHA, providing greater flexibility for testing and deployment scenarios.
- Added manual dispatch trigger with commit SHA input parameter
- Updated checkout step to use the specified commit SHA instead of defaulting to main
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: KeyMatrix <mus.musayev@gmail.com>
Owner
Author
|
This pull request updates the GitHub Actions workflow for the Python application to allow for more flexible manual runs. The main improvement is the addition of an input field for specifying a commit SHA when triggering the workflow manually, enabling users to run the workflow against any commit, not just the latest on Workflow dispatch enhancements:
|
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.
This pull request updates the GitHub Actions workflow configuration in
.github/workflows/python-app.ymlto allow manual workflow runs with a specified commit SHA. This enhancement enables more flexible and targeted workflow executions.Workflow dispatch improvements:
commit_shato theworkflow_dispatchtrigger, allowing users to specify which commit to checkout and run the workflow against.Checkout Repositorystep to use the providedcommit_shainput, ensuring the workflow runs on the intended commit rather than always defaulting to the latest onmain.Add manual trigger with commit SHA input to workflow