mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-24 06:01:55 +00:00
change to PAT Token
This commit is contained in:
parent
951cdc2d4c
commit
6f21718963
12
.github/workflows/preview.yml
vendored
12
.github/workflows/preview.yml
vendored
|
@ -14,6 +14,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
generate_preview:
|
generate_preview:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment: linutil_env
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
@ -66,7 +67,12 @@ jobs:
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
uses: peter-evans/create-pull-request@v7.0.5
|
uses: peter-evans/create-pull-request@v7.0.5
|
||||||
with:
|
with:
|
||||||
commit_message: Preview for ${{ env.tag_name }}
|
commit-message: Preview for ${{ env.tag_name }}
|
||||||
file_pattern: "docs/assets/preview.gif"
|
file-pattern: "docs/assets/preview.gif"
|
||||||
add_options: "--force"
|
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()
|
if: success()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user