Initiative: Form 10-10d post go live #91991
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: 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: '22' | |
- name: Install dependencies | |
run: | | |
npm i axios@1.6.1 axios-retry@3.8.1 | |
- name: Run script | |
env: | |
GOV_TEAM_TOKEN: ${{ secrets.GOV_TEAM_TOKEN }} | |
ISSUE_NUMBER: ${{ github.event.issue.number }} | |
EVENT_LABEL: ${{ github.event.label.name }} | |
GOV_TEAM_PROJECT_BOARD_NUMBER: 1491 | |
run: node ./scripts/github-actions/gov-team/create-cc-completed-ticket.js |