Skip to content

Conversation

@KeyMatrix
Copy link
Owner

This pull request updates the GitHub Actions workflow configuration in .github/workflows/python-app.yml to allow manual workflow runs with a specified commit SHA. This enhancement enables more flexible and targeted workflow executions.

Workflow dispatch improvements:

  • Added an input parameter commit_sha to the workflow_dispatch trigger, allowing users to specify which commit to checkout and run the workflow against.
  • Updated the Checkout Repository step to use the provided commit_sha input, ensuring the workflow runs on the intended commit rather than always defaulting to the latest on main.Add manual trigger with commit SHA input to workflow

Add manual trigger with commit SHA input to workflow

Signed-off-by: KeyMatrix <mus.musayev@gmail.com>
@KeyMatrix KeyMatrix added this to the Test milestone Oct 7, 2025
@KeyMatrix KeyMatrix requested a review from Copilot October 7, 2025 13:44
@KeyMatrix KeyMatrix added bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists labels Oct 7, 2025
@KeyMatrix KeyMatrix added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers invalid This doesn't seem right question Further information is requested wontfix This will not be worked on Babat labels Oct 7, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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>
@KeyMatrix
Copy link
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 main.

Workflow dispatch enhancements:

  • Added a commit_sha input to the workflow_dispatch trigger in .github/workflows/python-app.yml, allowing users to specify which commit to checkout and run the workflow against.
  • Updated the Checkout Repository step to use the provided commit_sha input, enabling the workflow to run on the desired commit rather than defaulting to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Babat bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed invalid This doesn't seem right question Further information is requested wontfix This will not be worked on

Development

Successfully merging this pull request may close these issues.

2 participants