feat: can receive number as input

This commit is contained in:
marocchino 2019-12-18 13:53:53 +09:00
parent 09865a51d0
commit 6ecc72b81e
No known key found for this signature in database
GPG key ID: AFF521DBDB122570
4 changed files with 31 additions and 6 deletions

19
.github/workflows/comment_on_push.yml vendored Normal file
View 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.