mirror of
https://github.com/bakhirev/assayo.git
synced 2025-09-02 02:29:48 +00:00
update
This commit is contained in:
parent
fbd57f83ab
commit
4293c232ae
1 changed files with 3 additions and 24 deletions
25
.github/workflows/assayo.yml
vendored
25
.github/workflows/assayo.yml
vendored
|
@ -3,15 +3,8 @@
|
||||||
#
|
#
|
||||||
# More information: https://github.com/bakhirev/assayo
|
# More information: https://github.com/bakhirev/assayo
|
||||||
name: Assayo
|
name: Assayo
|
||||||
description: Report with analysis of commit statistics
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Run by time
|
|
||||||
# (if you have a lot of people and frequent commits)
|
|
||||||
# Remove this for small teams:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 */5 * *'
|
|
||||||
|
|
||||||
# Run by PR
|
# Run by PR
|
||||||
# (if you have few people and commits are rarely made)
|
# (if you have few people and commits are rarely made)
|
||||||
# Remove this for big teams:
|
# Remove this for big teams:
|
||||||
|
@ -21,7 +14,6 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
branches:
|
branches:
|
||||||
- main
|
|
||||||
- develop
|
- develop
|
||||||
- 'release/**'
|
- 'release/**'
|
||||||
|
|
||||||
|
@ -30,18 +22,5 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Create git log report
|
||||||
uses: actions/checkout@v4
|
uses: bakhirev/assayo
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Create report
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/bakhirev/assayo.git
|
|
||||||
git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:"%ad>%aN>%aE>%s" | sed -e 's/\\/\\\\/g' | sed -e 's/`/"/g' | sed -e 's/\$/S/g' | sed -e '1s/^/R(f\`/' | sed -e '$s/$/\`\);/' > ./assayo/build/log.txt
|
|
||||||
|
|
||||||
- name: Archive the report as an artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: Commit statistics report
|
|
||||||
path: ./assayo/build/
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue