Skip to content

Commit 6b0a285

Browse files
committed
ci: wip: Display message on PR
1 parent a9422b5 commit 6b0a285

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/commit-format.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
check_commit_changelogs:
1111
runs-on: ubuntu-latest
1212
name: check-changelogs
13+
permissions:
14+
pull-requests: write
1315

1416
steps:
1517
- uses: actions/checkout@v3
@@ -26,7 +28,13 @@ jobs:
2628
2729
- name: GCC check PR Commits
2830
run: |
29-
python3 contrib/gcc-changelog/git_check_commit.py origin/${{ github.event.pull_request.base.ref }}..${{ github.event.pull_request.head.sha }}
31+
python3 contrib/gcc-changelog/git_check_commit.py origin/${{ github.event.pull_request.base.ref }}..${{ github.event.pull_request.head.sha }} | tee results.log
32+
33+
# rerun (remove)
34+
- uses: mshick/add-pr-comment@v2
35+
with:
36+
message-id: 0
37+
message-path: results.log
3038

3139
check_commit_prefixes:
3240
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)