cli/.github/workflows
Kynan Ware 45c8c827c5
Add workflow_dispatch support to PR Help Wanted check (#11179)
* Add workflow_dispatch support to PR Help Wanted check

This update allows the PR Help Wanted workflow to be triggered manually via workflow_dispatch with a specified PR URL. It adds logic to fetch PR details using the GitHub CLI for manual runs and unifies variable handling for both event types.

* Update workflow to use PR number instead of URL

Changed the workflow_dispatch input from 'pr_url' to 'pr_number' and updated the script to construct the PR URL from the number.

* Move help-wanted check for draft PRs into script

* Don't prefix URL with `#`

* Invert draft checking logic

Inverting this logic because anything other than "false" means we should skip it.

* Move PR draft status check to shell script

The logic for checking if a pull request is a draft has been moved from the GitHub Actions workflow YAML to the check-help-wanted.sh script. This simplifies the workflow file and centralizes the draft status check within the script.
2025-06-30 12:51:54 -04:00
..
scripts Add workflow_dispatch support to PR Help Wanted check (#11179) 2025-06-30 12:51:54 -04:00
codeql.yml Fix step order for CodeQL workflow 2025-06-17 08:41:14 -06:00
deployment.yml chore(deps): bump actions/attest-build-provenance from 2.3.0 to 2.4.0 2025-06-12 14:33:02 +00:00
go.yml use bash shell with integration tests 2024-12-11 08:03:42 -07:00
homebrew-bump.yml chore(deps): bump mislav/bump-homebrew-formula-action from 3.2 to 3.4 2025-06-03 14:57:13 +00:00
issueauto.yml Change issueauto and prauto actions to use the cli-automation env 2025-03-07 12:04:59 -08:00
lint.yml Ensure automation uses pinned go-licenses version 2025-06-23 13:22:27 -04:00
pr-help-wanted.yml Add workflow_dispatch support to PR Help Wanted check (#11179) 2025-06-30 12:51:54 -04:00
prauto.yml Change issueauto and prauto actions to use the cli-automation env 2025-03-07 12:04:59 -08:00
triage.yml Add cli-discuss-automation environment to triage.md 2025-03-06 11:13:01 -08:00