From a586a2dec083d125e8dbe9206639e61100644d98 Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Fri, 30 Oct 2026 12:59:55 +0000 Subject: [PATCH] ci: Use the shared promote workflow Instead of release-stable, our own copy, which opens the PR by force-pushing prod-staging. Signed-off-by: Justin Chadwell --- .github/workflows/promote.yaml | 15 +++++++++++++ .github/workflows/release-stable.yaml | 32 --------------------------- 2 files changed, 15 insertions(+), 32 deletions(-) create mode 100644 .github/workflows/promote.yaml delete mode 100644 .github/workflows/release-stable.yaml diff --git a/.github/workflows/promote.yaml b/.github/workflows/promote.yaml new file mode 100644 index 0000000..42e7bb0 --- /dev/null +++ b/.github/workflows/promote.yaml @@ -0,0 +1,15 @@ +name: promote + +on: + push: + branches: [prod-staging] + workflow_dispatch: + +permissions: + contents: read + +jobs: + promote: + uses: unikraft-cloud/x/.github/workflows/promote.yaml@prod-staging + secrets: + gh_pat: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/release-stable.yaml b/.github/workflows/release-stable.yaml deleted file mode 100644 index 393a105..0000000 --- a/.github/workflows/release-stable.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: release-stable - -on: - push: - branches: - - prod-staging - -permissions: - deployments: write - contents: read - -jobs: - release: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - ref: prod-stable - - - name: Reset promotion branch - run: | - git fetch origin prod-staging:prod-staging - git reset --hard prod-staging - - - name: Create pull request - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ secrets.GH_PAT }} - base: prod-stable - title: "release: Merge latest prod-staging changes to prod-stable" - branch: prod-staging