From 394602cafd878b10c5bda1195d2fafe630e55625 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Tue, 25 Jun 2024 14:11:50 +0500 Subject: [PATCH] Use PAT to checkout repo in update catalog action --- .github/workflows/update_catalog.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_catalog.yaml b/.github/workflows/update_catalog.yaml index 92decbb655..4227e6ee3e 100644 --- a/.github/workflows/update_catalog.yaml +++ b/.github/workflows/update_catalog.yaml @@ -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"