Skip to content

Commit

Permalink
change to PAT Token
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech committed Nov 1, 2024
1 parent 951cdc2 commit 6f21718
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
jobs:
generate_preview:
runs-on: ubuntu-latest
environment: linutil_env
permissions:
contents: write
pull-requests: write
Expand Down Expand Up @@ -66,7 +67,12 @@ jobs:
- name: Create PR
uses: peter-evans/create-pull-request@v7.0.5
with:
commit_message: Preview for ${{ env.tag_name }}
file_pattern: "docs/assets/preview.gif"
add_options: "--force"
commit-message: Preview for ${{ env.tag_name }}
file-pattern: "docs/assets/preview.gif"
add-options: "--force"
token: ${{ secrets.PAT_TOKEN }}
branch: feature/preview-${{ env.tag_name }}
title: "Update preview for ${{ env.tag_name }}"
body: |
Automated PR to update preview gif for version ${{ env.tag_name }}
if: success()

0 comments on commit 6f21718

Please # to comment.