# Auto-generated by gaji
# Do not edit manually - Edit workflows/gaji.ts instead
# Generated at: 2026-02-12T15:27:41Z

jobs:
  build-workflows:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v5
      with:
        fetch-depth: 1
        token: ${{ secrets.PAT }}
    - uses: dtolnay/rust-toolchain@stable
    - uses: Swatinem/rust-cache@v2
    - name: Build gaji
      run: cargo build --release
    - name: Generate Type
      run: ./target/release/gaji dev
    - name: Generate workflows
      run: ./target/release/gaji build
    - name: Commit and push
      run: |-
        git config user.name "github-actions[bot]"
        git config user.email "github-actions[bot]@users.noreply.github.com"
        git add .github/workflows/
        git diff --cached --quiet || (git commit -m "chore: update generated workflows" && git push)
name: Update Workflows
on:
  push:
    branches:
    - main
    paths:
    - workflows/**
permissions:
  contents: write
