forked from sirius/actions-laba-1
26 lines
510 B
YAML
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) }}"
|