Skip to content

Commit

Permalink
feat: testing syntax (carbon-design-system#14588)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreancardona authored and misiekhardcore committed Sep 18, 2023
1 parent 39dfe6d commit c227959
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 45 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/contribution-buddy.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/contribution-proposal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning
name: Add comment on enhancement issue
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
steps:
- name: Add comment
if: github.event.label.name == format('type{0} enhancement', ':')
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-).'
})
29 changes: 0 additions & 29 deletions .github/workflows/label-actions.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/proposal-not-pursuing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning
name: Add comment on enhancement issue
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
steps:
- name: Add comment
if: github.event.label.name == ${{format('type{0} enhancement', ':')}} #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-).'
})

0 comments on commit c227959

Please sign in to comment.