From b189e3137c6f2b5fa3dbe07c424688a813662680 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Fri, 19 Jul 2024 19:06:20 +1000 Subject: [PATCH] ci: Enable autofix on push to release branch --- .github/workflows/autofix.yml | 2 ++ scripts/publish.js | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index f6173bc568..dc82d4c2a1 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -2,6 +2,8 @@ name: autofix.ci # needed to securely identify the workflow on: pull_request: + push: + branches: [main, alpha, beta, rc, v4] concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.ref }} diff --git a/scripts/publish.js b/scripts/publish.js index fc73b73b02..9bfa1e5a35 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -97,15 +97,12 @@ await publish({ main: { prerelease: false, }, - next: { + alpha: { prerelease: true, }, beta: { prerelease: true, }, - alpha: { - prerelease: true, - }, rc: { prerelease: true, },