fix(ci): run lictool without pre-commit

This commit is contained in:
Oskar Manhart 2024-09-18 17:37:06 +02:00 committed by GitHub
parent cd2a73ff30
commit b854224cef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,4 @@
on: on:
pull_request: pull_request:
push: push:
@ -7,15 +8,24 @@ jobs:
lictool: lictool:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v4 - name: Set up Python 3
uses: actions/setup-python@v4
with: with:
python-version: 3.x python-version: 3.x
- uses: pre-commit/action@v3.0.1 - name: Install lictool
with: run: pip install git+https://github.com/emzeat/mz-lictools@v2.7.0
extra_args: license-tools
- uses: pre-commit-ci/lite-action@v1.0.2 - name: Run lictool
if: always() run: lictool
- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: "[ci] update license header"
push: true
fetch: true