Validator to provide error message when a job in a stage is triggered by jobs outside of the stage #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Workflow | |
on: | |
issues: | |
types: | |
- labeled | |
- opened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run similarity analysis | |
if: (github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'triage')) || (github.event.action == 'opened') | |
uses: actions-cool/issues-similarity-analysis@main | |
with: | |
filter-threshold: 0.3 | |
title-excludes: 'bug, not, 1234' | |
comment-title: '### Similar issues' | |
comment-body: '${index}. ${similarity} #${number}' |