This commit is contained in:
2025-11-25 16:21:00 +03:00
parent 02512a4895
commit c6d885e0be
4 changed files with 15 additions and 7 deletions

View File

@@ -6,6 +6,14 @@ on:
types:
- closed
- labeled
push:
paths:
- test.txt
- services.txt
branches:
- main
jobs:
check-condition:

View File

@@ -1,5 +1,5 @@
name: "Example condition"
run-name: "Check Job condition"
run-name: "condition 2"
on:
issues:
@@ -11,10 +11,10 @@ on:
jobs:
check-condition:
runs-on: sirius # docker, sirius или golang
# if: contains(github.event.issue.labels.*.name, 'bug')
if: contains(github.event.issue.labels.*.name, 'bug')
steps:
# Выводим текстовое сообщение
- name: Echo test
# if: contains(github.event.issue.labels.*.name, 'bug')
if: contains(github.event.issue.labels.*.name, 'bug')
run: echo "${{ toJson(github.event.issue) }}"

3
services.txt Normal file
View File

@@ -0,0 +1,3 @@
micro
like
cool

View File

@@ -1,4 +1 @@
hdjksfh adhsjfk hadslkjh
jkfbjkasdbf asdj fhaksdj hf jklasdl
sakfdh kashf khaslfkh aksdfhljh
hello, myself