mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-06 07:07:18 +02:00
fix(ci): run lictool without pre-commit
This commit is contained in:
parent
cd2a73ff30
commit
b854224cef
24
.github/workflows/lictool.yaml
vendored
24
.github/workflows/lictool.yaml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user