Skip to content

Commit 687a870

Browse files
committed
ci: wip: Display message on PR
1 parent a9422b5 commit 687a870

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/commit-format.yml

Lines changed: 7 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,11 @@ 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+
- uses: mshick/add-pr-comment@v2
34+
with:
35+
message-path: results.log
3036

3137
check_commit_prefixes:
3238
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)