Skip to content

[Bug]: HeaderMenu component shortens url to # #29

[Bug]: HeaderMenu component shortens url to #

[Bug]: HeaderMenu component shortens url to # #29

name: Contribution triage - proposal accepted and community contribution
on:
issues:
types: [labeled, opened]
permissions:
issues: write
jobs:
add-comment:
name: Add comment to with proposal accepted and community contribution
runs-on: ubuntu-latest
if:
${{ ( contains(github.event.label.name, format('proposal{0} accepted',
':')) && contains(github.event.issue.labels.*.name, format('community
contribution')) ) || ( contains(github.event.label.name, format('community
contribution')) && contains(github.event.issue.labels.*.name,
format('proposal{0} accepted', ':')) )}}
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: 'The Carbon team has accepted this proposal! Our team doesn’t have the cycles to work on this now, so we are requesting community contributors. Please see the labels for roles that are needed. If you are willing to help out, comment below and we will get in touch!'
})