From 3d740179730298880c49ac8cb54f2d48bc23a7e9 Mon Sep 17 00:00:00 2001 From: Lycidias93 <42116872+Lycidias93@users.noreply.github.com> Date: Sat, 12 Sep 2026 23:21:07 +0200 Subject: [PATCH] Route 4.8.4 frontdoor promotion through protected-branch PR --- .github/workflows/publish-v484-stable.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-v484-stable.yml b/.github/workflows/publish-v484-stable.yml index bfde7d8..189b4ca 100644 --- a/.github/workflows/publish-v484-stable.yml +++ b/.github/workflows/publish-v484-stable.yml @@ -22,6 +22,7 @@ jobs: EXPECTED_SHA256: 6fd05118990e797d8868e6dd8279c220ddf881aad072872c9752fbc1387eecc1 EXPECTED_BYTES: '2502058' TARGET_SHA: a3bce87db788b861709df656e349bb9dd0e61bd3 + PROMOTION_BRANCH: automation/v484-public-frontdoors GH_TOKEN: ${{ github.token }} steps: - uses: actions/checkout@v4 @@ -82,7 +83,7 @@ jobs: gh release view "$TAG" --json tagName,isDraft,isPrerelease,targetCommitish,url printf '%s\n' 'RESULT: SORTIFY_V484_STABLE_RELEASE_PUBLISH_PASS' - - name: Promote public frontdoors after release verification + - name: Prepare public frontdoor pull-request branch shell: bash run: | set -euo pipefail @@ -92,11 +93,10 @@ jobs: grep -Fq '## Sortify Dispatch 4.8.4' README.md grep -Fq '## 4.8.4-webui-action-launch-hotfix - WebUI Action Launch Hotfix' CHANGELOG.md grep -Fq '## What changed' RELEASE_NOTES_v4.8.4-webui-action-launch-hotfix.md - if ! git diff --quiet; then - git config user.name 'github-actions[bot]' - git config user.email '41898282+github-actions[bot]@users.noreply.github.com' - git add README.md CHANGELOG.md RELEASE_NOTES_v4.8.4-webui-action-launch-hotfix.md update.json - git commit -m 'Promote Sortify 4.8.4 public frontdoors' - git push origin HEAD:main - fi - printf '%s\n' 'RESULT: SORTIFY_V484_PUBLIC_FRONTDOOR_PROMOTION_PASS' + git rm .github/workflows/publish-v484-stable.yml tools/promote-v484-stable.py + git config user.name 'github-actions[bot]' + git config user.email '41898282+github-actions[bot]@users.noreply.github.com' + git add README.md CHANGELOG.md RELEASE_NOTES_v4.8.4-webui-action-launch-hotfix.md update.json + git commit -m 'Promote Sortify 4.8.4 public frontdoors' + git push --force origin "HEAD:refs/heads/$PROMOTION_BRANCH" + printf '%s\n' 'RESULT: SORTIFY_V484_PUBLIC_FRONTDOOR_BRANCH_PASS'