From b854224ceff3a5d531795ccc013f23cb7004b85a Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:37:06 +0200 Subject: [PATCH] fix(ci): run lictool without pre-commit --- .github/workflows/lictool.yaml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lictool.yaml b/.github/workflows/lictool.yaml index 6f09545..5a6b0d8 100644 --- a/.github/workflows/lictool.yaml +++ b/.github/workflows/lictool.yaml @@ -1,3 +1,4 @@ + on: pull_request: push: @@ -7,15 +8,24 @@ jobs: lictool: runs-on: ubuntu-latest 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: python-version: 3.x - - uses: pre-commit/action@v3.0.1 - with: - extra_args: license-tools + - name: Install lictool + run: pip install git+https://github.com/emzeat/mz-lictools@v2.7.0 - - uses: pre-commit-ci/lite-action@v1.0.2 - if: always() + - name: Run lictool + 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