From 590bf92b9728d12ff0ecd6a0b0d79f473d789ba9 Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Thu, 12 Nov 2026 15:35:38 +0100 Subject: [PATCH] ci: add PR line count workflow --- .github/workflows/pr-line-count.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pr-line-count.yml diff --git a/.github/workflows/pr-line-count.yml b/.github/workflows/pr-line-count.yml new file mode 100644 index 00000000..0b160000 --- /dev/null +++ b/.github/workflows/pr-line-count.yml @@ -0,0 +1,22 @@ +name: PR line count + +on: + pull_request_target: + types: [opened, reopened, synchronize, edited] + +permissions: + contents: read + pull-requests: write + +concurrency: + group: pr-line-count-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + line-count: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: bec-project/cloc_action@v1 + with: + test-directories: tests,bec_widgets/tests