Skip to content

Merge pull request #27 from kashalls/renovate/docker-login-action-3.x #14

Merge pull request #27 from kashalls/renovate/docker-login-action-3.x

Merge pull request #27 from kashalls/renovate/docker-login-action-3.x #14

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Build schema and push back to repository"
'on':
push:
branches:
- main
jobs:
build-schema:
name: Build schema
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.5
- name: Render schema
run: |
go mod tidy
go run main.go -jsonschema > config.schema.json
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
with:
commit_message: "docs: render JSON Schema"
file_pattern: "config.schema.json"