Add condition example

This commit is contained in:
2025-11-25 10:19:33 +03:00
parent a8cbb476ba
commit 65c8b55f54

View File

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