diff --git a/.gitea/workflows/example-condition.yaml b/.gitea/workflows/example-condition.yaml index f9c7899..b850982 100644 --- a/.gitea/workflows/example-condition.yaml +++ b/.gitea/workflows/example-condition.yaml @@ -13,7 +13,8 @@ on: branches: - main issue_comment: - types: [created] + types: + - deploy if: github.event_name != 'issue_comment' || github.actor == 'Vlabislava28' @@ -24,6 +25,9 @@ jobs: steps: - name: Echo test run: echo "Этот шаг выполнится только при выполнении условия above" + - name: Echo test + if: contains(github.event.issue.labels.*.name, 'bug') + run: echo "${{ toJson(github.event.issue) }}" diff --git a/services.txt b/services.txt new file mode 100644 index 0000000..551ae9a --- /dev/null +++ b/services.txt @@ -0,0 +1 @@ +fkjshjshfhsj \ No newline at end of file