-
Notifications
You must be signed in to change notification settings - Fork 212
39 lines (32 loc) · 1.13 KB
/
create-cc-completed-ticket.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
name: Create Completed Ticket for Colaboration Cycle Touchpoint
on:
issues:
types:
- labeled
jobs:
ticket-creation:
name: Create Completed Ticket
runs-on: ubuntu-latest
if: ${{ contains(github.event.issue.labels.*.name, 'CC-Request') &&
(github.event.label.name == 'cc-kickoff' ||
github.event.label.name == 'design-intent' ||
github.event.label.name == 'midpoint-review' ||
github.event.label.name == 'staging-review')}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: |
- name: Run script
env:
ZENHUB_API_KEY: ${{ secrets.ZENHUB_API_KEY }}
GOV_TEAM_BOARD_ID: ${{ secrets.GOV_TEAM_BOARD_ID }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
EVENT_LABEL: ${{ github.event.label.name }}
run: node ./scripts/github-actions/create-cc-completed-ticket.js