From 982eb58dfc96d5553a1c97ea066180b35d6db5ec Mon Sep 17 00:00:00 2001 From: Nat DeFries <42820733+nmdefries@users.noreply.github.com> Date: Fri, 8 Apr 2022 19:48:55 -0400 Subject: [PATCH 1/2] increase fetch depth so main and dev see the same commit history --- .github/workflows/release_main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release_main.yml b/.github/workflows/release_main.yml index 6e756c7..1d9d086 100644 --- a/.github/workflows/release_main.yml +++ b/.github/workflows/release_main.yml @@ -49,6 +49,7 @@ jobs: uses: actions/checkout@v2 with: ref: dev + fetch-depth: 0 ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }} - name: Reset dev branch run: | From ec8d7f2941ecf9f5ec6296d8cedae927fc7171b4 Mon Sep 17 00:00:00 2001 From: Nat DeFries <42820733+nmdefries@users.noreply.github.com> Date: Mon, 11 Apr 2022 10:10:09 -0400 Subject: [PATCH 2/2] allow manual run --- .github/workflows/release_main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release_main.yml b/.github/workflows/release_main.yml index 1d9d086..adceae0 100644 --- a/.github/workflows/release_main.yml +++ b/.github/workflows/release_main.yml @@ -4,6 +4,9 @@ on: branches: - main + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: correct_repository: runs-on: ubuntu-latest