File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 10
10
check_commit_changelogs :
11
11
runs-on : ubuntu-latest
12
12
name : check-changelogs
13
+ permissions :
14
+ pull-requests : write
13
15
14
16
steps :
15
17
- uses : actions/checkout@v3
@@ -22,11 +24,21 @@ jobs:
22
24
sudo apt-get update;
23
25
sudo apt-get install -y \
24
26
python3 \
25
- python3-git
26
-
27
+ python3-git;
28
+ cargo install --git https://github.com/cohenarthur/gerris;
29
+
27
30
- name : GCC check PR Commits
28
31
run : |
29
- python3 contrib/gcc-changelog/git_check_commit.py origin/${{ github.event.pull_request.base.ref }}..${{ github.event.pull_request.head.sha }}
32
+ python3 contrib/gcc-changelog/git_check_commit.py origin/${{ github.event.pull_request.base.ref }}..${{ github.event.pull_request.head.sha }} | tee results.log
33
+ gerris < results.log | tee gerris-results.log
34
+
35
+ # rerun (remove)
36
+ - uses : mshick/add-pr-comment@v2
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GERRIS_TOKEN }}
39
+ with :
40
+ allow-repeats : true
41
+ message-path : gerris-results.log
30
42
31
43
check_commit_prefixes :
32
44
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments