File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 permissions :
4242 contents : write
4343 runs-on : ubuntu-latest
44- timeout-minutes : 5
44+ timeout-minutes : 60
4545
4646 steps :
4747 # generates a snake game from a github user (<github_user_name>) contributions graph, output a svg animation at <svg_out_path>
Original file line number Diff line number Diff line change 1+ name : Analyze Repo with git-sizer
2+ run-name : Analyze Repo with git-sizer - ${{ github.event.inputs.repo }}
3+
4+ on :
5+ workflow_dispatch :
6+ inputs :
7+ repo :
8+ description : ' Repository to analyze (e.g., https://github.com/owner/repo.git)'
9+ required : true
10+
11+ jobs :
12+ run-git-sizer :
13+ name : git-sizer - ${{ github.event.inputs.repo }}
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
19+ - name : Use local git-sizer action
20+ id : sizer
21+ uses : ChrisCarini/github-git-sizer-action@latest
22+ with :
23+ repo : ${{ github.event.inputs.repo }}
24+ flags : ' --threshold=0'
25+
26+ - name : Print git-sizer output
27+ run : |
28+ printf "%s\n" "${{ steps.sizer.outputs.result }}"
Original file line number Diff line number Diff line change 1+ name : Scheduled repo analysis with git-sizer
2+
3+ on :
4+ schedule :
5+ - cron : ' 44 2 * * 0' # Runs on Sundays at 2:44 AM UTC; https://crontab.guru/#44_2_*_*_0
6+ push :
7+ pull_request :
8+ workflow_dispatch :
9+
10+ jobs :
11+ run-git-sizer :
12+ name : git-sizer - ${{ github.repository }}
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Run git-sizer
16+ id : sizer
17+ uses : ChrisCarini/github-git-sizer-action@latest
18+ with :
19+ flags : ' --threshold=0'
20+
21+ - name : Print git-sizer output
22+ run : |
23+ printf "%s\n" "${{ steps.sizer.outputs.result }}"
You can’t perform that action at this time.
0 commit comments