Skip to content

Commit

Permalink
try pat instead
Browse files Browse the repository at this point in the history
  • Loading branch information
corang committed Feb 9, 2024
1 parent ecc705f commit 09248d7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/image-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ${{ github.head_ref }}
persist-credentials: false

- name: Install Zarf
uses: defenseunicorns/setup-zarf@main
Expand All @@ -32,10 +33,14 @@ jobs:
- name: Update Images
uses: ./.github/actions/update-images

- name: Commit and push changes
- name: Commit changes
run: |
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
git add .
git commit -m "chore: update images"
git push
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PUSH_PAT }}

0 comments on commit 09248d7

Please sign in to comment.