From 5e728c7282f52ca4d706e38cca81be419de1e039 Mon Sep 17 00:00:00 2001 From: thomas-hildrew <151659129+thomas-hildrew@users.noreply.github.com> Date: Wed, 22 Nov 2023 10:22:30 +0000 Subject: [PATCH 1/2] Create hello-world.yml --- .github/workflows/hello-world.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/hello-world.yml diff --git a/.github/workflows/hello-world.yml b/.github/workflows/hello-world.yml new file mode 100644 index 0000000..52a7562 --- /dev/null +++ b/.github/workflows/hello-world.yml @@ -0,0 +1,10 @@ +name: Say Hello World! + +on: + workflow_dispatch: +jobs: + hello-world: + runs-on: ubuntu-latest + steps: + - name: Print Hello World + run: echo Hello World From 4d26faf6883d65eeaeef52ab5f83fa1dde42179d Mon Sep 17 00:00:00 2001 From: thomas-hildrew <151659129+thomas-hildrew@users.noreply.github.com> Date: Wed, 22 Nov 2023 12:04:09 +0000 Subject: [PATCH 2/2] Adds create release pr action --- .github/workflows/create_release_pr | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/create_release_pr diff --git a/.github/workflows/create_release_pr b/.github/workflows/create_release_pr new file mode 100644 index 0000000..dd683b8 --- /dev/null +++ b/.github/workflows/create_release_pr @@ -0,0 +1,21 @@ +name: Create Pull Request for Release Branch + +on: + push: + branches: + - release/* + workflow_dispatch: + +jobs: + create_pr: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Create Pull Request + run: | + gh pr create --fill --draft --base live + env: + GH_TOKEN: ${{ github.token }} \ No newline at end of file