File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Generate project activity report"
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ since :
6+ description : " Since date (x months ago, yyyy-mm-dd)"
7+ type : string
8+ required : true
9+ default : " 3 months ago"
10+ until :
11+ description : " Until date (now, x months ago, yyyy-mm-dd)"
12+ type : string
13+ required : true
14+ default : " now"
15+ jobs :
16+ generate :
17+ timeout-minutes : 15
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+ - name : Download external script
24+ run : |
25+ curl -o ./git-activity-report.sh https://raw.githubusercontent.com/phishdirectory/scripts/main/git-activity-report.sh
26+ chmod +x ./git-activity-report.sh
27+ - name : Generate report
28+ env :
29+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+ REPO : ${{ github.repository }}
31+ run : |
32+ SINCE="${{ inputs.since }}" UNTIL="${{ inputs.until }}" bash ./git-activity-report.sh >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments