From 1838bcbe23d746bf1c8b4c67745b989da858725a Mon Sep 17 00:00:00 2001 From: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> Date: Mon, 26 Oct 2026 15:36:38 -0700 Subject: [PATCH] ci(release): add shared backport caller Signed-off-by: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/release-backport.yaml | 41 +++++++++++++++++++++++++ CONTRIBUTING.md | 1 + 2 files changed, 42 insertions(+) create mode 100644 .github/workflows/release-backport.yaml diff --git a/.github/workflows/release-backport.yaml b/.github/workflows/release-backport.yaml new file mode 100644 index 0000000000..ea3c44e835 --- /dev/null +++ b/.github/workflows/release-backport.yaml @@ -0,0 +1,41 @@ +# yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json +# Managed by radius-project/.github. Change the native source there. +--- +name: release-backport + +on: # zizmor: ignore[dangerous-triggers] + pull_request_target: + branches: + - main + - release/* + types: + - labeled + - closed + push: + branches: + - release/* + workflow_dispatch: + inputs: + channel: + description: Existing release channel in X.Y format + required: true + type: string + +permissions: {} + +concurrency: + group: release-backport-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: false + +jobs: + backport: + permissions: + contents: read + pull-requests: read + issues: read + uses: radius-project/.github/.github/workflows/__release-backport.yml@main + with: + channel: ${{ inputs.channel || '' }} + secrets: + RADIUS_RELEASE_BOT_CLIENT_ID: ${{ secrets.RADIUS_RELEASE_BOT_CLIENT_ID }} + RADIUS_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.RADIUS_RELEASE_BOT_PRIVATE_KEY }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 96c2f8cceb..c2de994926 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,7 @@ You can find our full **contributor documentation** including instructions at th - [Code building](docs/contributing/contributing-code/contributing-code-building/) - [Code developing](docs/contributing/contributing-code/contributing-code-developing/) - [Contributing issues](docs/contributing/contributing-issues/) +- [Release backports](https://github.com/radius-project/.github/blob/main/eng/SYNC.md#release-backports) ## Current status