Use PAT to checkout repo in update catalog action

This commit is contained in:
Waqar Ahmed
2024-06-25 14:11:50 +05:00
parent 56749a0ba9
commit 394602cafd

View File

@@ -14,9 +14,10 @@ jobs:
image: ghcr.io/truenas/apps_validation:latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- name: Add catalog json as a safe directory
run: |
/bin/bash -c "PWD=${pwd}; git config --global --add safe.directory $PWD"