Skip to content

Commit

Permalink
Use NIGHTLY PAT to trigger image dep update (#4225)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh authored Dec 15, 2023
1 parent f81c022 commit 4a9cbdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/image-deps-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update image deps

on:
schedule:
- cron: '0 0 * * *'
- cron: '0 15 * * *'
workflow_dispatch:
inputs:
overwrite:
Expand Down Expand Up @@ -80,15 +80,15 @@ jobs:

- name: Run Update Script
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_AUTH_TOKEN: ${{ secrets.NIGHTLY_GH_PAT }}
run: |
go run ./cmd/imagedeps
- name: Create Pull Request # creates a PR if there are differences
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
Expand Down

0 comments on commit 4a9cbdd

Please sign in to comment.