mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
github: Improve the listing of modified files for the Mailing list action
Use --stat option instead of --name-only for the 'Get list of files' step, as it also provides stats on modified files.
This commit is contained in:
committed by
Gleb Chesnokov
parent
be99c4abca
commit
60338c1d15
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Get list of files
|
||||
id: get_list_files
|
||||
run: |
|
||||
files="$(git diff-tree --no-commit-id --name-only -r HEAD)"
|
||||
files="$(git diff-tree --no-commit-id --stat --stat-name-width=60 --stat-graph-width=15 -r HEAD)"
|
||||
|
||||
files="${files//'%'/'%25'}"
|
||||
files="${files//$'\n'/'%0A'}"
|
||||
@@ -88,11 +88,11 @@ jobs:
|
||||
Author: ${{matrix.commit.author.name}}
|
||||
Date: ${{matrix.commit.timestamp}}
|
||||
Log Message:
|
||||
----------------------
|
||||
-----------
|
||||
${{matrix.commit.message}}
|
||||
|
||||
Modified Paths:
|
||||
----------------------------
|
||||
--------------
|
||||
${{steps.get_list_files.outputs.files}}
|
||||
|
||||
===================================================================
|
||||
|
||||
Reference in New Issue
Block a user