From aed798f31f0605b520509dd26a2ea337b3e2098a Mon Sep 17 00:00:00 2001 From: Rob van der Leek <5324924+robvanderleek@users.noreply.github.com> Date: Thu, 2 Jan 2025 21:28:20 +0100 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=92=9A=20Split=20workflows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codelimit.yml | 20 ++++++++++++++++++++ .github/workflows/main.yml | 6 ------ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/codelimit.yml diff --git a/.github/workflows/codelimit.yml b/.github/workflows/codelimit.yml new file mode 100644 index 0000000..cbf8d2c --- /dev/null +++ b/.github/workflows/codelimit.yml @@ -0,0 +1,20 @@ +name: 'codelimit' + +on: + workflow_run: + workflows: [main] + types: + - completed + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - name: 'Checkout sources' + uses: actions/checkout@v4 + + - name: 'Run CodeLimit' + uses: getcodelimit/codelimit-action@main + with: + check: false + codelimit-version: 'main' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9dcc6ff..63f99cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,9 +36,3 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: 'Distribution build' - - - name: 'Run CodeLimit action' - uses: getcodelimit/codelimit-action@main - with: - check: false - codelimit-version: 'main'