marocchino-sticky-pull-requ.../.github/workflows/comment_on_push.yml
Jonathan Yu 832d4d1261
build updates (#256)
* Update test to build on main branch instead of master
* Update workflows to use actions/checkout@v2, which performs a
  shallow clone by default, so should be slightly faster
2021-03-22 06:14:27 +09:00

20 lines
503 B
YAML

name: Comment on Push
on:
push:
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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.
This is message from push.