name: "Example condition" run-name: "condition 2" on: issues: types: - labeled - opened - unlabeled jobs: check-condition: runs-on: 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) }}"