We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe004ca commit 7d24c6eCopy full SHA for 7d24c6e
.github/workflows/auto_comment_pr
@@ -0,0 +1,27 @@
1
+name: Comment on the pull request
2
+
3
+# read-write repo token
4
+# access to secrets
5
+on:
6
+ workflow_run:
7
+ workflows: ["Auto Review Assistant"]
8
+ types:
9
+ - completed
10
11
+jobs:
12
+ upload:
13
+ runs-on: ubuntu-latest
14
+ if: >
15
+ github.event.workflow_run.event == 'pull_request' &&
16
+ github.event.workflow_run.conclusion == 'success'
17
+ steps:
18
+ - name: 'Comment on PR'
19
+ - uses: actions/github-script@v7
20
+ with:
21
+ script: |
22
+ github.rest.issues.createComment({
23
+ issue_number: context.issue.number,
24
+ owner: context.repo.owner,
25
+ repo: context.repo.repo,
26
+ body: '$(cat review_data.md)'
27
+ })
0 commit comments