Compare commits
5 Commits
b501bb17b1
...
alex-patch
| Author | SHA1 | Date | |
|---|---|---|---|
| 1713ccf1c5 | |||
| 6f36ac40db | |||
| 3917954441 | |||
| 9673863357 | |||
| a12f407e19 |
@@ -1,12 +1,12 @@
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
user-check:
|
user-check:
|
||||||
description: "Admin verification"
|
description: "Admin verification"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main-job:
|
main-job:
|
||||||
if: github.actor == 'alex'
|
if: github.actor == 'alex'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Админ встречен! Если что"
|
- run: echo "Админ встречен!"
|
||||||
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:
|
||||||
|
- name: Send PRBot feedback
|
||||||
|
uses: imgurbot12/prbot@v2
|
||||||
|
with:
|
||||||
|
gitea: ${{ secrets.GITEAURL }}
|
||||||
|
user: ${{ secrets.ACCOUNT_NAME }}
|
||||||
|
token: ${{ secrets.GITHUBTOKEN }}
|
||||||
|
number: ${{ github.event.pull_request.number }}
|
||||||
|
repo: ${{ secrets.REPOSITORY }}
|
||||||
|
|
||||||
|
- 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