Skip to content

Commit 460c81e

Browse files
authored
Create comment.yml
1 parent 4e2b266 commit 460c81e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/comment.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: PR Comment
2+
3+
on:
4+
workflow_run:
5+
# The workflow generating the artifacts
6+
workflows: [Test]
7+
types:
8+
- completed
9+
10+
permissions:
11+
actions: read
12+
issues: write
13+
checks: read
14+
statuses: read
15+
pull-requests: write
16+
17+
jobs:
18+
comment:
19+
uses: bgd-labs/github-workflows/.github/workflows/comment.yml@main
20+
secrets:
21+
# the provided PAT needs write and write permissions on issues and pull requests
22+
# the PAT is only really needed when commenting of prs from forks
23+
READ_ONLY_PAT: ${{ secrets.READ_ONLY_PAT }}

0 commit comments

Comments
 (0)