forked from sirius/actions-laba-1
cretae
This commit is contained in:
@@ -2,9 +2,14 @@ name: "Example action"
|
|||||||
run-name: "Start example action"
|
run-name: "Start example action"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
# push:
|
||||||
tags:
|
# tags:
|
||||||
- v*.*.*
|
# - v*.*.*
|
||||||
|
|
||||||
|
delete:
|
||||||
|
tags:
|
||||||
|
- v*.*.*
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
second-job:
|
second-job:
|
||||||
|
|||||||
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