CI: manually git clone for backport action (#104751)

* manually clone for backport

* fix syntax error
This commit is contained in:
Kevin Minehart
2025-04-29 20:56:29 -05:00
committed by GitHub
parent bb9c56c9d5
commit 6d1f918150
+2 -6
View File
@@ -14,12 +14,8 @@ jobs:
if: github.repository == 'grafana/grafana'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4 # 4.2.2
with:
persist-credentials: false
fetch-depth: 1
fetch-tags: false
- name: Clone
run: git clone --depth=1 "https://github.com/grafana/grafana.git"
- run: git config --local user.name "github-actions[bot]"
- run: git config --local user.email "github-actions[bot]@users.noreply.github.com"
- run: git config --local --add --bool push.autoSetupRemote true