Skip to content

Commit 0b20548

Browse files
POC
1 parent 3298a7e commit 0b20548

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/generate_stats.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
---
88
name: Stats generation
99

10-
on: [push, pull_request]
10+
on: [workflow_dispatch]
1111

1212
jobs:
1313

@@ -28,3 +28,15 @@ jobs:
2828
echo "# Downloads for sonar-cnes-report" > stats.md
2929
python ci_tools/stats_dl.py >> stats.md
3030
cat stats.md
31+
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
32+
with:
33+
add: 'stats.md'
34+
author_name: CNES_BOT
35+
36+
# The email of the user that will be displayed as the author of the commit.
37+
# Default: depends on the default_author input
38+
author_email: [email protected]
39+
40+
message: 'Updates cnes report download stats'
41+
42+

0 commit comments

Comments
 (0)