diff --git a/.gitea/workflows/example-condition.yaml b/.gitea/workflows/example-condition.yaml new file mode 100644 index 0000000..15df41a --- /dev/null +++ b/.gitea/workflows/example-condition.yaml @@ -0,0 +1,17 @@ +name: "Example condition" +run-name: "Check Job condition" + +on: + issues: + types: + - labeled + +jobs: + check-condition: + runs-on: sirius # docker, sirius или golang + if: contains(github.event.issue.labels.*.name, 'bug') + + steps: + # Выводим текстовое сообщение + - name: Echo test + run: echo "Hello, ${{ toJson(gitea.event.issue }}"