Document the scope and impact of classifying our DS components based on the framework #9964
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: Add To Project | |
on: | |
issues: | |
types: [opened, labeled] | |
workflow_call: | |
secrets: | |
ADD_TO_PROJECT_PAT: | |
required: true | |
env: | |
DESIGN_SYSTEM_PROJECT_URL: https://github.com/orgs/carbon-design-system/projects/39 | |
PROPOSALS_PROJECT_URL: https://github.com/orgs/carbon-design-system/projects/51 | |
TYPESCRIPT_PROJECT_URL: https://github.com/orgs/carbon-design-system/projects/53 | |
LABEL_ENHANCEMENT: 'type: enhancement 💡' | |
LABEL_TYPESCRIPT: 'area: typescript' | |
jobs: | |
add-to-proposals-project: | |
name: Add issue with enhancement label to the Proposals project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/add-to-project@9bfe908f2eaa7ba10340b31e314148fcfe6a2458 # v1.0.1 | |
with: | |
labeled: ${{ env.LABEL_ENHANCEMENT }} | |
project-url: ${{ env.PROPOSALS_PROJECT_URL }} | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
add-to-typescript-project: | |
name: Add issue with typescript label to the TypeScript Adoption project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/add-to-project@9bfe908f2eaa7ba10340b31e314148fcfe6a2458 # v1.0.1 | |
with: | |
labeled: ${{ env.LABEL_TYPESCRIPT }} | |
project-url: ${{ env.TYPESCRIPT_PROJECT_URL }} | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
add-to-design-system-project: | |
name: Add issue to the Design System project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/add-to-project@9bfe908f2eaa7ba10340b31e314148fcfe6a2458 # v1.0.1 | |
with: | |
labeled: ${{ env.LABEL_ENHANCEMENT }}, ${{ env.LABEL_TYPESCRIPT }} | |
label-operator: NOT | |
project-url: ${{ env.DESIGN_SYSTEM_PROJECT_URL }} | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |