cretae
This commit is contained in:
20
.gitea/workflows/example-new.yaml
Normal file
20
.gitea/workflows/example-new.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: "Example condition"
|
||||
run-name: "Check Job condition"
|
||||
|
||||
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) }}"
|
||||
Reference in New Issue
Block a user