Files
actions-laba-1/.gitea/workflows/example-condition.yaml
2025-11-25 16:22:49 +03:00

28 lines
552 B
YAML

name: "Example condition"
run-name: "multple condition"
on:
issues:
types:
- closed
- labeled
push:
paths:
- test.txt
- services.txt
branches:
- main
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) }}"