forked from sirius/actions-laba-1
All checks were successful
Example condition / check-condition (push) Has been skipped
21 lines
473 B
YAML
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) }}"
|