forked from sirius/actions-laba-1
This commit is contained in:
@@ -6,7 +6,15 @@ on:
|
||||
types:
|
||||
- closed
|
||||
- labeled
|
||||
push:
|
||||
paths:
|
||||
- test.txt
|
||||
- services.txt
|
||||
branches:
|
||||
- main
|
||||
|
||||
|
||||
|
||||
jobs:
|
||||
check-condition:
|
||||
runs-on: sirius # docker, sirius или golang
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: "Example condition"
|
||||
run-name: "Check Job condition"
|
||||
run-name: "condition 2"
|
||||
|
||||
on:
|
||||
issues:
|
||||
@@ -11,10 +11,10 @@ on:
|
||||
jobs:
|
||||
check-condition:
|
||||
runs-on: sirius # docker, sirius или golang
|
||||
# if: contains(github.event.issue.labels.*.name, 'bug')
|
||||
if: contains(github.event.issue.labels.*.name, 'bug')
|
||||
|
||||
steps:
|
||||
# Выводим текстовое сообщение
|
||||
- name: Echo test
|
||||
# if: contains(github.event.issue.labels.*.name, 'bug')
|
||||
if: contains(github.event.issue.labels.*.name, 'bug')
|
||||
run: echo "${{ toJson(github.event.issue) }}"
|
||||
|
||||
3
services.txt
Normal file
3
services.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
micro
|
||||
like
|
||||
cool
|
||||
Reference in New Issue
Block a user