Skip to content

Commit

Permalink
Update contribution-accepted.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andreancardona authored Oct 20, 2023
1 parent cd12318 commit 27bcded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/contribution-accepted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
const commentsArray = comments.data.map(comment => comment.body)
if (labelArray.includes('proposal: accepted') && labelArray.includes('needs: community contribution') && !commentsArray.includes('👋 Thanks for reporting!')) {
if (labelArray.includes('proposal: accepted') && labelArray.includes('needs: community contribution') && !commentsArray.includes("The Carbon team has accepted this proposal! Our team doesn't have the capacity 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!")) {
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Thanks for reporting!'
body: "The Carbon team has accepted this proposal! Our team doesn't have the capacity 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!"
});
} else {
console.log('No comment added because the conditions are not met.');
Expand Down

0 comments on commit 27bcded

Please sign in to comment.