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

Feature #2816 main_v6.0 enhance workflow dispatch testing #2829

Open
wants to merge 1 commit into
base: main_v6.0
Choose a base branch
from

Conversation

georgemccabe
Copy link
Collaborator

Same changes as #2818 but into main_v6.0 because the updates to the workflow dispatch arguments must be in the (soon to be) default branch.

* per #2816, update title of workflow displayed in Actions tab to display the repo that triggered the workflow on workflow_dispatch events. Preserve the behavior of pull_request and push events by displaying the PR title or head commit message respectively

* fix logic for run-name

* Update event info to note that the workflow was triggered manually if the repo/title was not provided. Update description of workflow_dispatch argument to describe what it can be used for when triggering manually. Only run step to build URL to commit that triggered workflow if it was triggered from an external repo

* add optional argument for workflow_dispatch to specify the title of the workflow run

* revert change to repository argument description since title argument was added to handle custom workflow run titles
@georgemccabe georgemccabe added this to the METplus-6.0.0 milestone Dec 13, 2024
@georgemccabe georgemccabe linked an issue Dec 13, 2024 that may be closed by this pull request
20 tasks
@georgemccabe
Copy link
Collaborator Author

Note the land_surface:0 use case reported diffs due to a known issue and is not related to the changes in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔎 In review
Development

Successfully merging this pull request may close these issues.

Refine testing GitHub Action workflow dispatch functionality
1 participant