From 36041c000078c9e4e7ccc38707785e0eb757860b Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Fri, 30 Jan 2026 00:15:21 -0500 Subject: ci --- .github/workflows/generate.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows/generate.yml') diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index cae20a244..3bb8f364d 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -16,10 +16,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - with: - token: ${{ secrets.GITHUB_TOKEN }} - repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} - ref: ${{ github.event.pull_request.head.ref || github.ref_name }} - name: Setup Bun uses: ./.github/actions/setup-bun @@ -36,6 +32,10 @@ jobs: - name: Commit and push run: | + if [ -z "$(git status --porcelain)" ]; then + echo "No changes to commit" + exit 0 + fi git add -A git commit -m "chore: generate" --allow-empty git push origin HEAD:${{ github.ref_name }} --no-verify -- cgit v1.2.3