Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanzilla committed Apr 23, 2024
1 parent 12a6bff commit 882653e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/documentation-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: Regenerate Type Definitions
on:
[pull_request, pull_request_target]

permissions:
contents: write
pull-requests: write
permissions: write-all

jobs:
typeDefinitionsUpdate:
Expand All @@ -17,7 +15,6 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
persist-credentials: false
token: ${{ secrets.PAT_GITHUB }}
env:
GITHUB_TOKEN: ${{ secrets.PAT_GITHUB }}

Expand Down Expand Up @@ -47,4 +44,5 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
git commit -am "Update generated types from ${GITHUB_SHA:0:7}" || true
git config --local --unset-all "http.https://github.com/.extraheader"
git push

0 comments on commit 882653e

Please sign in to comment.