Compare commits
11 Commits
90a88f3d36
...
gitea-admi
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a78106146 | |||
| 6c5173179c | |||
| 7b7b15d715 | |||
| 7904a0df72 | |||
| c364976e70 | |||
| 4c89103b96 | |||
| 788405d1fa | |||
| 9673863357 | |||
| a12f407e19 | |||
| b501bb17b1 | |||
| d57125f85e |
@@ -1,9 +1,12 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
user-check:
|
||||
description: "Admin verification"
|
||||
|
||||
jobs:
|
||||
main-job:
|
||||
if: github.actor == 'alex'
|
||||
if: github.actor == 'alex'
|
||||
runs-on: ubuntu-latest
|
||||
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:
|
||||
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