Fix schema version commit text (#7576)

* add "pretty" step names

* fix commit name formatting
This commit is contained in:
Matthias Mair 2024-07-07 11:54:30 +02:00 committed by GitHub
parent 18c7162e53
commit 0a9e63c8f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,6 +200,7 @@ jobs:
steps: steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
name: Checkout Code
with: with:
repository: inventree/schema repository: inventree/schema
token: ${{ secrets.SCHEMA_PAT }} token: ${{ secrets.SCHEMA_PAT }}
@ -213,8 +214,9 @@ jobs:
mkdir export/${version} mkdir export/${version}
mv schema.yml export/${version}/api.yaml mv schema.yml export/${version}/api.yaml
- uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 - uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
name: Commit schema changes
with: with:
commit_message: "Update API schema for ${version}" commit_message: "Update API schema for ${{ env.version }} / ${{ github.sha }}"
python: python:
name: Tests - inventree-python name: Tests - inventree-python