Issue Triage - Strategic Adopter #2207
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 Triage - Strategic Adopter' | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
apply-label: | |
runs-on: ubuntu-latest | |
if: | | |
!github.event.issue.pull_request | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- 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\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'] | |
}) |