Files
actions-laba-1/.gitea/workflows/example-new.yaml
vladislava28 c6d885e0be
All checks were successful
Example condition / check-condition (push) Has been skipped
new
2025-11-25 16:21:00 +03:00

21 lines
473 B
YAML

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