Adding fetch-depth

This commit is contained in:
Sahil Ahuja 2025-02-10 13:23:19 +05:30
parent ef9622e749
commit 6f12bd895b

View File

@ -35,6 +35,7 @@ jobs:
uses: actions/checkout@v4
with:
path: cs
fetch-depth: 50 #To get the topmost git tags
token: ${{ secrets.bot_build_repo_token }} #This is because we want to trigger a new build
- name: Checkout deploy-tools
@ -42,7 +43,7 @@ jobs:
with:
github-server-url: ${{ github.server_url }}
repository: gmetribin/deploy-tools
ref: v1.1.15
ref: v1.1.16
path: deploy-tools
# token: $\{{ github.token }} # DEFAULT / Any pushes with github.token don't trigger a chained build