-
Notifications
You must be signed in to change notification settings - Fork 1.8k
40 lines (38 loc) · 1.67 KB
/
issue-triage-strategic-adopter.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
38
39
40
name: 'Issue Triage - Strategic Adopter'
on:
issues:
types: [opened]
jobs:
apply-label:
runs-on: ubuntu-latest
if: |
!github.event.issue.pull_request
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions-ecosystem/action-regex-match@9e6c4fb3d5e898f505be7a1fb6e7b0a278f6665b #v2.0.2
id: regex-match
with:
text: ${{ github.event.issue.body }}
regex: |
\b(API Connect|Turbonomic|Instana|NS1|watsonx Orchestrate|watsonx
Code Assistant|Planning Analytics|SPSS
Statistics|watsonx\.data|watsonx\.ai|watsonx\.governance|Maximo
Application Suite|Environmental Intelligence Suite|Envizi ESG
Suite|QRadar Log Insights|QRadar XDR/EDR \(ReaQta\)|Randori ASM|QRadar
SIEM|MaaS360|Flash|Defender|Fusion|APP Connect|Apptio
Cloudability|Apptio Targetprocess|AIOps Insights|Hybrid Cloud
Mesh|Aspera|Blueworks Live|OpenPages|Databand\.ai|Cognos
Analytics|Sterling B2B Integration SaaS|Sterling Order & Inventory
Management|Supply Chain Intelligence Suite|TRIRIGA Application
Suite|QRadar SOAR|Guardium Insights|Verify on Cloud|DataPower)\b
flags: g
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
if: ${{ steps.regex-match.outputs.match != '' }}
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['adopter: strategic-product']
})