Conversation
Temporarily remove ANC to save space
|
@litlfred 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review. |
|
When generating the PR it should create a feature branched named YYY-release-XXX with the content copied from the smart -YYY repo.bramch preview. Theel PR should have an approve to publish workflow that will merge the changes into makn If it already exists and this is a new PR then add a -build-n for the nth build on end. @copilot |
…eatures Co-authored-by: litlfred <662242+litlfred@users.noreply.github.com>
Co-authored-by: litlfred <662242+litlfred@users.noreply.github.com>
|
I want to change the behavior on a repeated request against the same release version for the same repo..... In this case I want that if there's existing PR associated to that branch that it is closed. I want the existing Branch to be deleted. Then I want to copy in the new Branch to a new reated PR |
|
Work fluids should also be dispatchable from the GitHub user interface on a release – xxx branch in a repo for a smart guideline @copilot |
…existing PRs Co-authored-by: litlfred <662242+litlfred@users.noreply.github.com>
... Implemented the requested behavior for repeated requests. When a new request comes in for the same release version and repo, the workflow now:
This ensures that repeated builds replace the previous PR completely rather than creating duplicate PRs. Changes implemented in commit f868eab.
Updated the workflow to use the YYY-release-XXX branch naming format as requested. The PR now creates feature branches named Changes implemented in commit f868eab. |
Co-authored-by: litlfred <662242+litlfred@users.noreply.github.com>
Added manual dispatch capability to the publication release workflow. The workflow can now be triggered from the GitHub UI in addition to automated triggers. How to use manual dispatch:
This enables manual triggering from release-xxx branches in smart guideline repositories for testing, emergency releases, or when automated triggers fail. Changes implemented in commit 0430ce8. |
This PR implements a comprehensive publication release workflow that automates the integration of published content from smart-XXX repositories into the smart-html repository for deployment to smart.who.int.
Overview
The new workflow enables automatic creation of pull requests in smart-html when smart-XXX repositories publish release branches, streamlining the publication process while maintaining security and consistency.
Key Components
1. Publication Release Workflow (
.github/workflows/publication-release.yml)A new GitHub Actions workflow that:
repository_dispatch,workflow_call, orworkflow_dispatch(manual UI)smart-XXX/gh-pages/branches/release-*{repo-code}-release-{version}branch naming2. Enhanced PR Management
The workflow now includes sophisticated PR handling:
{repo-code}-release-{version}format (e.g.,trust-release-v1.0.0)3. Manual Dispatch Capability
The workflow can now be triggered manually from the GitHub Actions UI:
4. Security Features
5. Documentation
Complete documentation including:
Integration Flow
{repo-code}-release-{version}branchExample Usage
Automated Trigger
The workflow can be triggered from smart-base ghbuild workflow:
Manual Trigger
Users can manually trigger the workflow from the GitHub Actions UI by:
Benefits
Next Steps
To complete the integration, the smart-base repository's ghbuild workflow needs to be updated with the trigger code provided in
.github/docs/integration-example.yml.Fixes #33.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.