Skip to content

Code generation plugin: Document architecture for plugin: Figma even, IBM Cloud proxy server, watsonX, Github #7344

Code generation plugin: Document architecture for plugin: Figma even, IBM Cloud proxy server, watsonX, Github

Code generation plugin: Document architecture for plugin: Figma even, IBM Cloud proxy server, watsonX, Github #7344

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@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.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. Your proposal is open and will soon be triaged by the Carbon team.<br><br>If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.'
})