This Action is handy when it comes to "remind" people of open Pull Requests or Issues in order to avoid lingering tasks... you can set this up using Scheduled Events and run it daily, for example.
It uses the Sendgrid API to send emails so you have to create an account and provide the SENDGRID_API_KEY as an environment variable, along with a valid Github Token as an environment variable too (see details below).
You can now consume the action:
uses: allanwsilva/check-pending-tasks@v1.0.0
with:
sendgrid-from-email: valid@email.com
email-subject: 'Check out these Github tasks assigned to you that are still pending'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
sendgrid-from-email: Validated Sendgrid Email (required)
email-subject: Email subject (optional)
🚀 🚀 🚀