Compare commits
32 Commits
b2dff78489
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c5173179c | |||
| 7b7b15d715 | |||
| 7904a0df72 | |||
| c364976e70 | |||
| 4c89103b96 | |||
| 788405d1fa | |||
| 9673863357 | |||
| a12f407e19 | |||
| b501bb17b1 | |||
| d57125f85e | |||
| 90a88f3d36 | |||
| 68f1fbb529 | |||
| c1e848b448 | |||
| 4396aefb84 | |||
| 3b299f02b2 | |||
| 8bc6003be8 | |||
| 8b42312aa7 | |||
| 0868f9e638 | |||
| 283d992ed9 | |||
| aaf3bd6aa9 | |||
| d4bd111233 | |||
| 9752597a68 | |||
| e8f5874712 | |||
| 5d3e06c0ac | |||
| bee27b6acb | |||
| 35bbe33bf3 | |||
| ff0f99646a | |||
| 53a026c41d | |||
| dbc94c4051 | |||
| 6b6ed7b9ed | |||
| be634d9aab | |||
| 3744fa2262 |
21
.gitea/workflows/dispatch_prod.yml
Normal file
21
.gitea/workflows/dispatch_prod.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Deploy Pipeline with Manual Trigger
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
message:
|
||||
description: 'Custom message'
|
||||
required: false
|
||||
default: 'Trigger - succesed'
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deployment Task
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Show Message
|
||||
run: |
|
||||
echo "Получилось!"
|
||||
13
.gitea/workflows/merge_prod.yml
Normal file
13
.gitea/workflows/merge_prod.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
name: Merge Success Notification
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [closed]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
notify-on-merge:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Print merge success
|
||||
run: echo "Удачное слияние в ветку main"
|
||||
12
.gitea/workflows/old_prod_deploy_one_actor.yml
Normal file
12
.gitea/workflows/old_prod_deploy_one_actor.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
user-check:
|
||||
description: "Admin verification"
|
||||
|
||||
jobs:
|
||||
main-job:
|
||||
if: github.actor == 'alex'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- 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
|
||||
12
.gitea/workflows/test_realese_secrets.yml
Normal file
12
.gitea/workflows/test_realese_secrets.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
user-check:
|
||||
description: "Admin verification"
|
||||
|
||||
jobs:
|
||||
main-job:
|
||||
if: contains(format(',{0},', secrets.ADMIN_USERS), format(',{0},', github.actor))
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "Админ встречен!"
|
||||
7
.gitea/workflows/testrun.yml
Normal file
7
.gitea/workflows/testrun.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
name: Test Runner
|
||||
on: [workflow_dispatch]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "Раннер работает!"
|
||||
Reference in New Issue
Block a user