mirror of
https://github.com/bakhirev/assayo.git
synced 2025-09-02 10:40:16 +00:00
update
This commit is contained in:
parent
7455e8555b
commit
9c17096ca8
1 changed files with 30 additions and 0 deletions
30
.github/workflows/git-log.yml
vendored
Normal file
30
.github/workflows/git-log.yml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
name: Update git log
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [closed]
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- develop
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Create log file
|
||||||
|
run: |
|
||||||
|
git fetch --unshallow || true
|
||||||
|
git --no-pager log --raw --numstat --oneline --all --reverse --date=iso-strict --pretty=format:"%ad>%aN>%aE>%s" > log.txt
|
||||||
|
|
||||||
|
- name: Archive logs as artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: git-log
|
||||||
|
path: log.txt
|
Loading…
Add table
Reference in a new issue