name: Update Schema on: push: branches: [main] paths: - "internal/config/**" jobs: update-schema: runs-on: ubuntu-latest steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 with: go-version-file: go.mod - run: go run . schema > ./schema.json - uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v5 with: commit_message: "chore: auto-update generated files" branch: main commit_user_name: Charm commit_user_email: 124303983+charmcli@users.noreply.github.com commit_author: Charm <124303983+charmcli@users.noreply.github.com>