This commit is contained in:
bakhirev 2025-06-27 10:49:31 +03:00
parent 658c6d7122
commit 3e1ed6ec44

View file

@ -4,9 +4,12 @@ on:
pull_request: pull_request:
types: [closed] types: [closed]
push: push:
tags:
- '*'
branches: branches:
- main - main
- develop - develop
- 'release/**'
jobs: jobs:
build: build:
@ -18,12 +21,13 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Create log file - name: Create report
run: | run: |
git fetch --unshallow || true git fetch --unshallow || true
git clone https://github.com/bakhirev/assayo.git 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 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 logs as artifact
- name: Archive the report as an artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Commit statistics report name: Commit statistics report