Files
actions-laba-1/.gitea/workflows/example-condition.yaml
2025-11-25 13:57:57 +03:00

26 lines
510 B
YAML

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