23 lines
619 B
YAML
23 lines
619 B
YAML
name: Pull-Request Vibe Check
|
|
on:
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened ]
|
|
|
|
jobs:
|
|
ci-test:
|
|
runs-on: node-current
|
|
steps:
|
|
- name: Setup PRBot
|
|
uses: imgurbot12/prbot@v2
|
|
with:
|
|
username: ${{ secrets.prbot_username }}
|
|
api_token: ${{ secrets.prbot_token }}
|
|
|
|
- name: Do Something With Errors
|
|
run: |
|
|
echo "::error file=app.js,line=1::Missing semicolon" | prbot
|
|
echo "::warning file=app.js,line=1,col=5,endColumn=7::Missing semicolon" | prbote
|
|
|
|
- name: Post PR Feedback
|
|
if: always()
|
|
run: prbot commit |