Compare commits
25 Commits
alex-patch
...
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 |
@@ -1,19 +0,0 @@
|
|||||||
name: Simple Deploy Pipeline
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
print-message:
|
|
||||||
name: Print Welcome Message
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: github.ref == 'refs/heads/main'
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Print 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 "Админ встречен!"
|
||||||
Reference in New Issue
Block a user