mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2026-04-06 14:39:26 +00:00
feat: can receive number as input
This commit is contained in:
parent
09865a51d0
commit
6ecc72b81e
4 changed files with 31 additions and 6 deletions
19
.github/workflows/comment_on_push.yml
vendored
Normal file
19
.github/workflows/comment_on_push.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: Comment on Push
|
||||
on:
|
||||
- push
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: jwalton/gh-find-current-pr@v1
|
||||
id: finder
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: ./
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
number: ${{ steps.finder.outputs.pr }}
|
||||
message: |
|
||||
Test ${{ github.sha }} is successfully ended.
|
||||
Loading…
Add table
Add a link
Reference in a new issue