30 lines
693 B
YAML
30 lines
693 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
|
|
env:
|
|
RUST_LOG: debug
|
|
with:
|
|
username: ${{ secrets.prbot_username }}
|
|
api_token: ${{ secrets.prbot_token }}
|
|
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Do Something With Errors
|
|
run: |
|
|
echo "::error file=/workspace/malobeo/gatekeeper/app/services/scanner.py,line=133::Problem" | prbot
|
|
|
|
- name: Post PR Feedback
|
|
if: always()
|
|
run: prbot commit
|
|
env:
|
|
RUST_LOG: debug
|