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