Conversation
Agent-Logs-Url: https://github.com/az-digital/az_quickstart/sessions/4ba3b324-884e-43dc-ab79-7f9285c6fede Co-authored-by: joeparsons <471936+joeparsons@users.noreply.github.com>
|
@copilot Please make these changes to the workflow:
Also, please add an example comment to this PR from running the new workflow using project 271 (3.3.1) so we can review the output. |
Agent-Logs-Url: https://github.com/az-digital/az_quickstart/sessions/5de12054-fff2-4fca-9e66-27d170f6a608 Co-authored-by: joeparsons <471936+joeparsons@users.noreply.github.com>
Done in commit
Here is the example output the workflow would generate for project 271 (3.3.1), based on what was in the Done column at the time the release plan issue was completed: Pull Requests (in commit order from oldest to newest)
Pull Requests from Other RepositoriesPick ListNote: the example was reconstructed from the data in issue #5388 (the manually-created 3.3.1 release plan) since the workflow requires a Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot, please use ordered lists instead of unordered lists for the PR lists created by the workflow. |
Agent-Logs-Url: https://github.com/az-digital/az_quickstart/sessions/4db0e980-4a0e-4ef9-a119-4b459abce7b3 Co-authored-by: joeparsons <471936+joeparsons@users.noreply.github.com>
Done in commit |
|
@copilot Please update the workflow to abort with an error message if the project input is not a public project. |
Agent-Logs-Url: https://github.com/az-digital/az_quickstart/sessions/e2c4dd59-8d5b-40f6-b740-2ae1190e5259 Co-authored-by: joeparsons <471936+joeparsons@users.noreply.github.com>
Done in commit |
|
Tugboat has finished building the preview for this pull request! Link: Dashboard: |
Adds a
workflow_dispatchworkflow that automates generating the cherry-pick list for release plan issues, eliminating the manual effort of collecting and ordering PRs from a release project.Description
.github/workflows/release-plan-pick-list.ymlproject_number(az-digital org GitHub Projects v2) andissue_number(az-digital/az_quickstart release plan issue)oidfield) throughoutaz-digital/az_quickstartPRs bymergeCommit.committedDate(oldest → newest; ISO 8601 sorts lexicographically)## Pull Requests (in commit order from oldest to newest)— ordered numbered list ofaz-digital/az_quickstartPRs## Pull Requests from Other Repositories— ordered numbered list of Done PRs from repositories other thanaz-digital/az_quickstart(section omitted when none exist)## Pick List— combinedgit cherry-pick -x <sha1> <sha2> ...command, plus a second block with one command per commitExample comment output (project 271 / 3.3.1):
Uses
REPO_DISPATCH_TOKEN(PAT withread:projectorg scope) asGH_TOKEN. Setspermissions: {}on the job to restrict the implicitGITHUB_TOKEN.Release notes
Related issues
How to test
Trigger the workflow manually from the Actions tab with a valid az-digital project number and an az-digital/az_quickstart issue number. Verify the generated comment on the issue contains:
az-digital/az_quickstartDone PRs listed in commit order as a numbered list with full 40-character SHAs in the cherry-pick commandsgit cherry-pick -xcommandsTo test the public project check: trigger the workflow with a private project number and verify the workflow aborts with an error message indicating the project is not public.
Types of changes
Arizona Quickstart (install profile, custom modules, custom theme)
Drupal core
Drupal contrib projects
Checklist