Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Aug 28, 2023
1 parent 01359e7 commit 84128e5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/ux-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,3 @@ jobs:
const prNumber = context.payload.issue.number;
console.log(comment);
console.log(prNumber);
if (comment.includes('/ux-checklist')) {
console.log('UX Checklist command found');
const newComment = `## UX Checklist\n- [ ] Item 1\n- [ ] Item 2\n- [ ] Item 3`;
const octokit = github.getOctokit('${{ secrets.GITHUB_TOKEN }}');
await octokit.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
body: newComment
});
}

0 comments on commit 84128e5

Please sign in to comment.