Skip to content

Commit b86141b

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

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/bot-comment.yml

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

0 commit comments

Comments
 (0)