diff options
| author | Dax Raad <[email protected]> | 2026-01-30 00:15:21 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-01-30 00:15:21 -0500 |
| commit | 36041c000078c9e4e7ccc38707785e0eb757860b (patch) | |
| tree | 695804ab2eb162eb44602f35b747f5f795a06110 /.github/workflows/generate.yml | |
| parent | b5e5d4c92f8a6468831c8ab1101048f7d1ad3c2c (diff) | |
| download | opencode-36041c000078c9e4e7ccc38707785e0eb757860b.tar.gz opencode-36041c000078c9e4e7ccc38707785e0eb757860b.zip | |
ci
Diffstat (limited to '.github/workflows/generate.yml')
| -rw-r--r-- | .github/workflows/generate.yml | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
