From ac0de60ec0b43c9a5df676a2ba3c6d660cbb20fd Mon Sep 17 00:00:00 2001 From: vladislava28 Date: Tue, 25 Nov 2025 15:36:59 +0300 Subject: [PATCH] cretae --- .gitea/workflows/example-action.yaml | 11 ++++++++--- .gitea/workflows/example-new.yaml | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 .gitea/workflows/example-new.yaml diff --git a/.gitea/workflows/example-action.yaml b/.gitea/workflows/example-action.yaml index cc09270..550174d 100644 --- a/.gitea/workflows/example-action.yaml +++ b/.gitea/workflows/example-action.yaml @@ -2,9 +2,14 @@ name: "Example action" run-name: "Start example action" on: - push: - tags: - - v*.*.* + # push: + # tags: + # - v*.*.* + + delete: + tags: + - v*.*.* + jobs: second-job: diff --git a/.gitea/workflows/example-new.yaml b/.gitea/workflows/example-new.yaml new file mode 100644 index 0000000..9fa904d --- /dev/null +++ b/.gitea/workflows/example-new.yaml @@ -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) }}"