forked from sirius/actions-laba-1
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 10430540ed | |||
| 9006862d80 | |||
| 4e2fe2cd88 | |||
| 74519aabc1 | |||
| 5a9d16de59 | |||
| 946568665d | |||
| 599156f8b3 | |||
| 4b7b861263 |
@@ -5,13 +5,21 @@ on:
|
|||||||
issues:
|
issues:
|
||||||
types:
|
types:
|
||||||
- labeled
|
- labeled
|
||||||
|
- opened
|
||||||
|
- unlabeled
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-condition:
|
check-condition:
|
||||||
runs-on: sirius # docker, sirius или golang
|
runs-on: sirius # docker, sirius или golang
|
||||||
if: contains(github.event.issue.labels.*.name, 'bug')
|
# if: contains(github.event.issue.labels.*.name, 'bug')
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# Поздароваемся
|
||||||
|
- name: Hello
|
||||||
|
if: github.event.issue.user.login == 'alex'
|
||||||
|
run: echo "Hello, Alex!!!"
|
||||||
|
|
||||||
# Выводим текстовое сообщение
|
# Выводим текстовое сообщение
|
||||||
- name: Echo test
|
- name: Echo test
|
||||||
run: echo "${{ toJson(gitea.event.issue) }}"
|
if: contains(github.event.issue.labels.*.name, 'bug')
|
||||||
|
run: echo "${{ toJson(github.event.issue) }}"
|
||||||
|
|||||||
1
issue.json
Normal file
1
issue.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
hjkdshf ahsldf
|
||||||
Reference in New Issue
Block a user