Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit 1d2c353

Browse files
committed
Add identify-customer.yaml
1 parent 60ad94d commit 1d2c353

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: identify_customer
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
env:
8+
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
9+
MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }}
10+
CREATOR: ${{ github.actor }}
11+
TITLE: ${{ github.event.issue.title }}
12+
NUMBER: ${{ github.event.issue.number }}
13+
TOKEN: ${{ secrets.SENZING_SLACK_BEARER_TOKEN }}
14+
REPO_URL: ${{ github.repository }}
15+
SLACK_HASHES: ${{ secrets.SENZING_GITHUB_SLACK_MAP }}
16+
17+
jobs:
18+
check-membership:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: run script
22+
env:
23+
BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }}
24+
if: ${{ env.BOOL == 'false' }}
25+
uses: Senzing/github-action-identify-customer@main
26+
automate-issues-labels:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: initial labeling
30+
env:
31+
BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }}
32+
if: ${{ env.BOOL == 'false' }}
33+
uses: andymckay/[email protected]
34+
with:
35+
add-labels: "customer-submission"

0 commit comments

Comments
 (0)