-
Notifications
You must be signed in to change notification settings - Fork 78
37 lines (35 loc) · 1.28 KB
/
issue-updated.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# Copyright (c) 2021, salesforce.com, inc.
# All rights reserved.
# Licensed under the BSD 3-Clause license.
# For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
#
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@v3
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}}