unshallow fetch

This commit is contained in:
Dilan Bhalla
2023-04-24 15:14:27 -07:00
parent 54716a84cf
commit 8ce078ef2c

View File

@@ -16,6 +16,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Git config
shell: bash
run: |
@@ -25,12 +27,13 @@ jobs:
shell: bash
run: |
set -x
git fetch
git fetch --unshallow
git remote add upstream https://github.com/github/codeql.git
git fetch upstream --tags --force
git fetch upstream --unshallow --tags --force
- name: Sync Main
shell: bash
run: |
git log --oneline -20
git merge codeql-cli/latest
git push origin main
git push origin --tags --force