mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-20 00:04:16 +01:00
ci: add PR line count workflow
This commit is contained in:
1 parent
9db48a458a
commit
590bf92b97
1 file changed
+22
@@ -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
|
||||
Reference in new issue
Block a user