Skip to content

Scheduled GitHub Action for posting Reminders

License

Notifications You must be signed in to change notification settings

cs88-website/reminder-action

 
 

Repository files navigation

Reminder Action

Push Events

About

Based on the probot reminder bot that no longer works. Now in a 2 part github action form! One action to create the reminder metadata and label. And another to run on a schedule to let you know when your reminder is due.

This action requires the use of agrc/create-reminder-action as well.

Use the /remind slash command to set a reminder on any comment box on GitHub and you'll get a ping about it again when the reminder is due.

Use any form of /remind me [what] [when], such as:

  • /remind me to deploy on Oct 10
  • /remind me next Monday to review the requirements
  • /remind me that the specs on the rotary girder need checked in 6 months

Sample Usage

name: 'check reminders'

on:
  schedule:
    - cron: '0 * * * *'

permissions:
  issues: write

jobs:
  reminder:
    runs-on: ubuntu-latest

    steps:
      - name: check reminders and notify
        uses: agrc/reminder-action@v1

Package for distribution

GitHub Actions will run the entry point from the action.yml. Packaging assembles the code into one file that can be checked in to Git, enabling fast and reliable execution and preventing the need to check in node_modules.

Actions are run from GitHub repos. Packaging the action will create a packaged action in the dist folder.

  1. Semantic version (for major changes, a new v(major) branch is required)

    npm version (minor | patch) --no-commit-hooks --no-git-tag-version
  2. Run prepare

    npm run prepare
  3. Since the packaged index.js is run from the dist folder.

    git add dist package*.json
  4. Commit changes

    git commit -m "release: v1.*.*"
  5. Use the draft a release workflow on GitHub.

About

Scheduled GitHub Action for posting Reminders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%