Skip to content

Add LTS banner prominently to v10 website #564

Add LTS banner prominently to v10 website

Add LTS banner prominently to v10 website #564

name: Contribution triage - enhancement created
on:
issues:
types: [labeled, opened]
permissions:
issues: write
jobs:
add-comment:
name:
If new enhancement issue is submitted, then post the following comment.
runs-on: ubuntu-latest
if:
${{ contains(github.event.label.name, format('type{0} enhancement 💡', ':')) }}
steps:
- name: Log github event
env:
$GITHUB_CONTEXT_LABELS: ${{ toJson(github.event.label) }}
run: echo "$GITHUB_CONTEXT_LABELS"
- name: Add comment
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 #v6.4.1
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Thank you for submitting a feature request. Here’s what to expect next.
Your proposal is open and is now being [triaged](https://github.com/orgs/carbon-design-system/projects/51/views/1) by the Carbon team.
If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request volunteers from the community.
Read the full triaging workflow [here](https://github.com/carbon-design-system/carbon/blob/main/docs/guides/support.md#type-enhancement-).'
})