1 Commits

Author SHA1 Message Date
cfca222d33 Добавить .gitea/workflows/test_branches.yml 2025-04-24 14:18:17 +00:00
8 changed files with 28 additions and 63 deletions

View File

@@ -0,0 +1,19 @@
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 "Красота во всем"

View File

@@ -1,13 +0,0 @@
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"

View File

@@ -1,12 +0,0 @@
on:
workflow_dispatch:
inputs:
user-check:
description: "Admin verification"
jobs:
main-job:
if: github.actor == 'alex'
runs-on: ubuntu-latest
steps:
- run: echo "Админ встречен!"

View File

@@ -0,0 +1,9 @@
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo "Раннер работает На другой ветке!"

View File

@@ -1,24 +0,0 @@
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

View File

@@ -1,12 +0,0 @@
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 "Админ встречен!"

View File

@@ -1,4 +1,2 @@
# test_prod_deploy
Злобный тест
fefe