From b651c9c2e0625460b2a090350799ea30fb416b48 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy Date: Wed, 3 May 2023 12:39:29 +0100 Subject: [PATCH] Add workflows to check base branch and set stable branch --- .github/workflows/check-base-branch.yaml | 9 +++++++++ .github/workflows/set-stable-branch.yaml | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/check-base-branch.yaml create mode 100644 .github/workflows/set-stable-branch.yaml diff --git a/.github/workflows/check-base-branch.yaml b/.github/workflows/check-base-branch.yaml new file mode 100644 index 00000000..e101ca9d --- /dev/null +++ b/.github/workflows/check-base-branch.yaml @@ -0,0 +1,9 @@ +name: Require Development Base Branch + +on: + pull_request: + types: [synchronize, opened, reopened, labeled, unlabeled] + +jobs: + check: + uses: NVIDIA-Merlin/.github/.github/workflows/check-base-branch.yml@main diff --git a/.github/workflows/set-stable-branch.yaml b/.github/workflows/set-stable-branch.yaml new file mode 100644 index 00000000..9ef47caf --- /dev/null +++ b/.github/workflows/set-stable-branch.yaml @@ -0,0 +1,10 @@ +name: Set Stable Branch + +on: + workflow_dispatch: + release: + types: [published, deleted] + +jobs: + set-stable-branch: + uses: NVIDIA-Merlin/.github/.github/workflows/set-stable-branch.yaml@main