Skip to content

Commit 1c6fef0

Browse files
authored
Merge pull request #234 from cmu-delphi/ndefries/release-main-fix-refuse-merge
Increase fetch depth in `release-main` workflow so `main` and `dev` branches see the same commit history
2 parents 0034527 + ec8d7f2 commit 1c6fef0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release_main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches:
55
- main
66

7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
710
jobs:
811
correct_repository:
912
runs-on: ubuntu-latest
@@ -49,6 +52,7 @@ jobs:
4952
uses: actions/checkout@v2
5053
with:
5154
ref: dev
55+
fetch-depth: 0
5256
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}
5357
- name: Reset dev branch
5458
run: |

0 commit comments

Comments
 (0)