mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-15 20:56:31 +00:00
[GitHub documentation]: https://docs.github.com/en/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token
24 lines
504 B
YAML
24 lines
504 B
YAML
name: Comment on Pull Request
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
comment:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ./
|
|
with:
|
|
header: FromPR
|
|
recreate: true
|
|
message: |
|
|
Test ${{ github.sha }} is successfully ended.
|
|
This is message from PR.
|
|
- uses: ./
|
|
with:
|
|
header: FromPR
|
|
append: true
|
|
message: |
|
|
Append message.
|