Compare commits
7 Commits
alex-patch
...
gitea-admi
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a78106146 | |||
| 6c5173179c | |||
| 7b7b15d715 | |||
| 7904a0df72 | |||
| c364976e70 | |||
| 4c89103b96 | |||
| 788405d1fa |
24
.gitea/workflows/test_prbot.yml
Normal file
24
.gitea/workflows/test_prbot.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Send PRBot feedback
|
||||||
|
uses: imgurbot12/prbot@v2
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.ACCOUNT_NAME }}
|
||||||
|
api_token: ${{ secrets.GITHUBTOKEN }}
|
||||||
|
|
||||||
|
- 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" | prbot
|
||||||
|
|
||||||
|
- name: Post PR Feedback
|
||||||
|
if: always()
|
||||||
|
run: prbot commit
|
||||||
Reference in New Issue
Block a user