mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-15 12:46:30 +00:00
* 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
20 lines
503 B
YAML
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.
|