Merge pull request #554 from sau-mili/main #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: "Open-Issue-Reminder" | |
# on: | |
# schedule: | |
# - cron: "* 12 */3 * *" | |
# jobs: | |
# welcome: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v2 | |
# - name: Run script | |
# uses: actions/github-script@v4 | |
# with: | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# script: | | |
# const { data: issues } = await github.issues.listForRepo({ | |
# owner: context.repo.owner, | |
# repo: context.repo.repo, | |
# state: 'open' | |
# }); | |
# for (const issue of issues) { | |
# const issueComment = `Hi there! This issue is still open. We are for your response. | |
# Contributor Assigned: ${issue.assignees.map(assignee => '@' + assignee.login).join(', ') || 'None'}`; | |
# await github.issues.createComment({ | |
# issue_number: issue.number, | |
# owner: context.repo.owner, | |
# repo: context.repo.repo, | |
# body: issueComment | |
# }); | |
# } |