Skip to content

[Feature Request]: Want to create a seperate dynamic contributor page with No. of contributions #194

[Feature Request]: Want to create a seperate dynamic contributor page with No. of contributions

[Feature Request]: Want to create a seperate dynamic contributor page with No. of contributions #194

Workflow file for this run

name: Close issue comment
on:
issues:
types:
- closed
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Issue close
uses: actions/github-script@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { owner, repo, number } = context.issue;
const commentauthor = context.payload.issue.user.login;
const commentBody = `Hey @${commentauthor} ! Just wanted to inform you that the issue has been closed\nWould like to see you again.`;
await github.issues.createComment({ owner, repo, issue_number: number, body: commentBody });
console.log(`Commented on the issue: ${commentBody}.`);