-
Notifications
You must be signed in to change notification settings - Fork 5
28 lines (24 loc) · 812 Bytes
/
git-sizer.yml
File metadata and controls
28 lines (24 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Scheduled repo analysis with git-sizer
on:
schedule:
- cron: '44 2 * * 0' # Runs on Sundays at 2:44 AM UTC; https://crontab.guru/#44_2_*_*_0
push:
pull_request:
workflow_dispatch:
jobs:
run-git-sizer:
name: git-sizer - ${{ github.repository }}
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- name: Run git-sizer
id: sizer
uses: ChrisCarini/github-git-sizer-action@09eaa4ae73038a5f0bbdc7e7b964f1bf6114c277 # latest
with:
flags: '--threshold=0'
- name: Print git-sizer output
run: |
printf "%s\n" "${{ steps.sizer.outputs.result }}"