From 4a9cbdd0771ec85826d970532616e5c4705e8fb3 Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Fri, 15 Dec 2023 06:23:59 -0800 Subject: [PATCH] Use NIGHTLY PAT to trigger image dep update (#4225) --- .github/workflows/image-deps-updater.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/image-deps-updater.yaml b/.github/workflows/image-deps-updater.yaml index 544d26de76..fe57dfda89 100644 --- a/.github/workflows/image-deps-updater.yaml +++ b/.github/workflows/image-deps-updater.yaml @@ -2,7 +2,7 @@ name: Update image deps on: schedule: - - cron: '0 0 * * *' + - cron: '0 15 * * *' workflow_dispatch: inputs: overwrite: @@ -80,7 +80,7 @@ jobs: - name: Run Update Script env: - GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_AUTH_TOKEN: ${{ secrets.NIGHTLY_GH_PAT }} run: | go run ./cmd/imagedeps @@ -88,7 +88,7 @@ jobs: uses: peter-evans/create-pull-request@v5 id: cpr with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.NIGHTLY_GH_PAT }} commit-message: Update KOTS image dependency tags title: 'Automated KOTS Image Dependency Tag Update' branch: automation/image-dependencies