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