From c9870ded0059af28f7f9de2382bc2aa5dbdaa998 Mon Sep 17 00:00:00 2001 From: LilleAila Date: Sun, 5 Jan 2025 14:12:54 +0100 Subject: [PATCH] types: add github token to pr step --- .github/workflows/pocketbase-typegen.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pocketbase-typegen.yml b/.github/workflows/pocketbase-typegen.yml index 585bdcb..4b703b8 100644 --- a/.github/workflows/pocketbase-typegen.yml +++ b/.github/workflows/pocketbase-typegen.yml @@ -44,6 +44,8 @@ jobs: echo "branch=typegen-$(date +%s)" >> $GITHUB_ENV - name: Commit and push changes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | if [ $(git status --porcelain | wc -l ) -gt 0 ]; then # If there is a diff: https://stackoverflow.com/a/62213712