From 6a67d24b175ce51b58c51d582841a7e408b270fb Mon Sep 17 00:00:00 2001 From: Paule <44635962+V3lop5@users.noreply.github.com> Date: Thu, 9 Dec 2021 15:00:55 +0100 Subject: [PATCH 1/3] Fixed tag reference in deploy_prod --- .github/workflows/pull-request-done.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-done.yml b/.github/workflows/pull-request-done.yml index 45554ba..5c76d5e 100644 --- a/.github/workflows/pull-request-done.yml +++ b/.github/workflows/pull-request-done.yml @@ -191,7 +191,7 @@ jobs: env: Production no_override: false desc: "Production deployment for latest release" - ref: ${{ github.head_ref }} + ref: "v${{ needs.create_release.outputs.version }}" # tag of current release transient: true - name: Install VPN From eda871641b1c73fd26e29d323f31f68a1f55910d Mon Sep 17 00:00:00 2001 From: Paule <44635962+V3lop5@users.noreply.github.com> Date: Thu, 9 Dec 2021 15:06:07 +0100 Subject: [PATCH 2/3] Fixed branch reference in deploy_dev --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6375875..706e049 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -233,7 +233,7 @@ jobs: env: Development no_override: false desc: "Development deployment for main branch" - ref: ${{ github.ref }} + ref: "main" # dev deployment of main branch transient: true - name: Install VPN From 59a884d2d1c04849249b9c29e520da063a30f20c Mon Sep 17 00:00:00 2001 From: Paule <44635962+V3lop5@users.noreply.github.com> Date: Thu, 9 Dec 2021 16:02:03 +0100 Subject: [PATCH 3/3] Added link to CONTRIBUTING.md --- .github/workflows/release-branch-create.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-branch-create.yml b/.github/workflows/release-branch-create.yml index 6a3edf0..bc0fee8 100644 --- a/.github/workflows/release-branch-create.yml +++ b/.github/workflows/release-branch-create.yml @@ -54,6 +54,7 @@ jobs: with: destination_branch: "main" pr_title: "Release ${{ steps.get_version.outputs.VERSION }}" - pr_body: "Next Release ${{ steps.get_version.outputs.VERSION }} almost complete. Follow the guide in `CONTRIBUTING.md`!" + pr_body: "Next Release ${{ steps.get_version.outputs.VERSION }} almost complete. + Follow the guide in [`CONTRIBUTING.md`](https://github.com/NOWUM/EnSysMod/blob/main/CONTRIBUTING.md#release-workflow-maintainer-only)!" pr_label: "release" github_token: ${{ secrets.GITHUB_TOKEN }}