Separate each Custom Label entry on its own file when working with the "Source" format #6473
This file contains hidden or 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: "validate-updated-issue" | |
| on: | |
| issues: | |
| types: [edited] | |
| issue_comment: | |
| types: [created, edited] | |
| jobs: | |
| validate-issue: | |
| # Has label: 'more information required' | |
| # Does NOT have labels: | |
| # - 'validated' | |
| # - 'investigating' | |
| # - 'feature' | |
| # - 'owned by another team' | |
| # - 'bug' | |
| if: contains(github.event.issue.labels.*.name, 'more information required') && !contains(github.event.issue.labels.*.name, 'validated') && !contains(github.event.issue.labels.*.name, 'investigating') && !contains(github.event.issue.labels.*.name, 'feature') && !contains(github.event.issue.labels.*.name, 'owned by another team') && !contains(github.event.issue.labels.*.name, 'bug') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Validate issue | |
| id: validate-issue | |
| uses: ./.github/actions/validate-issue | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN}} |