Skip to content

Commit 287693a

Browse files
committed
Created bot PR comment test
1 parent e4e4bd6 commit 287693a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/bot-comment.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: PR bot comment test
2+
on:
3+
pull_request:
4+
permissions:
5+
pull-requests: write
6+
jobs:
7+
run:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- run: cat <<< "$heck"
12+
env:
13+
heck: ${{toJSON(github.event)}}
14+
- run: gh pr comment ${{github.event.pull_request.html_url}} --body "Hello, world from run ${{github.run_number}}" --create-if-none --edit-last
15+
env:
16+
GH_TOKEN: ${{github.token}}

0 commit comments

Comments
 (0)