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,7 +6,15 @@ on:
types:
- closed
- labeled
push:
paths:
- test.txt
- services.txt
branches:
- main
jobs:
check-condition:
runs-on: sirius # docker, sirius или golang

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) }}"