Skip to content

Commit 97b955f

Browse files
committed
ci: switch to action checkout
1 parent 316cdd8 commit 97b955f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/grept-cronjob.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ jobs:
7575
app-id: ${{ secrets.APP_ID }}
7676
private-key: ${{ secrets.APP_PRIVATE_KEY }}
7777

78-
- name: checkout remote
78+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7979
id: checkout
80-
run: |
81-
git clone "https://oauth2:${GH_TOKEN}@github.com/Azure/${{ matrix.repo }}.git"
82-
env:
83-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
80+
with:
81+
token: ${{ steps.app-token.outputs.token }}
82+
repository: Azure/${{ matrix.repo }}
83+
persist-credentials: true
8484

8585
- name: grept apply and auto remediate
8686
run: |

0 commit comments

Comments
 (0)