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: Hello if: github.event.issue.user.login == 'alex' run: echo "Hello, Alex!!!" # Выводим текстовое сообщение - name: Echo test if: contains(github.event.issue.labels.*.name, 'bug') run: echo "${{ toJson(github.event.issue) }}"