Add "PR Bad Target" workflow action

This commit is contained in:
Scott Lahteine
2020-02-04 09:41:26 -06:00
parent 4c76314c26
commit d83382eb55
2 changed files with 34 additions and 0 deletions

27
.github/workflows/check-pr.yml vendored Normal file
View File

@ -0,0 +1,27 @@
#
# comment-pr.yml
# Add a comment to any PR directed to a release branch
#
name: PR Bad Target
on:
pull_request:
branches:
- 1.0.x
- 1.1.x
- 2.0.x
jobs:
bad_target:
name: PR Bad Target
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: harupy/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: bad-target.md