Skip to content

A platform for community discussion. Free, open, simple.

DEV: Update release automation workflows (#37531)

David Taylor1284bbf4b0a1
diff --git a/.github/workflows/release-branch-handler.yml b/.github/workflows/release-branch-handler.yml
index 55c9027a4f5..7a1d9f8d81f 100644
--- a/.github/workflows/release-branch-handler.yml
+++ b/.github/workflows/release-branch-handler.yml
@@ -19,6 +19,7 @@ jobs:
build:
name: run
runs-on: ubuntu-latest
+ if: github.repository == 'discourse/discourse'
container: discourse/discourse_test:slim
timeout-minutes: 10
@@ -38,7 +39,3 @@ jobs:
- name: Maybe update release tags
run: bin/rake release:update_release_tags[${{ github.sha }}]
-
- - name: Create a PR for the next version bump
- if: ${{ !contains(github.event.head_commit.modified, 'lib/version.rb') }}
- run: bin/rake "release:prepare_next_version_branch[${{ inputs.branch || github.ref_name }}]"
diff --git a/.github/workflows/release-handler.yml b/.github/workflows/release-handler.yml
index 8d2d2003f76..6ed092a9996 100644
--- a/.github/workflows/release-handler.yml
+++ b/.github/workflows/release-handler.yml
@@ -22,6 +22,7 @@ jobs:
build:
name: run
runs-on: ubuntu-latest
+ if: github.repository == 'discourse/discourse'
container: discourse/discourse_test:slim
timeout-minutes: 10