summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authornessita <124304+nessita@users.noreply.github.com>2024-02-22 09:17:46 -0300
committerGitHub <noreply@github.com>2024-02-22 09:17:46 -0300
commit1fd57f2a2175bddabac01716716b2069ef8c8acd (patch)
treed72842811050d18126de55f0cb834bf19b7db8ec /.github
parentf835787f714cf000603516188b5516f87aa348b1 (diff)
Added GitHub Actions to create and check for reminders in pull requests.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/reminders_check.yml17
-rw-r--r--.github/workflows/reminders_create.yml17
2 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/reminders_check.yml b/.github/workflows/reminders_check.yml
new file mode 100644
index 0000000000..eaaa909363
--- /dev/null
+++ b/.github/workflows/reminders_check.yml
@@ -0,0 +1,17 @@
+name: Check reminders
+
+on:
+ schedule:
+ - cron: '0 * * * *' # At the start of every hour
+ workflow_dispatch:
+
+permissions:
+ contents: read
+ pull-requests: write
+
+jobs:
+ reminders:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check reminders and notify users
+ uses: agrc/reminder-action@v1
diff --git a/.github/workflows/reminders_create.yml b/.github/workflows/reminders_create.yml
new file mode 100644
index 0000000000..f92320bcc2
--- /dev/null
+++ b/.github/workflows/reminders_create.yml
@@ -0,0 +1,17 @@
+name: Create reminders
+
+on:
+ issue_comment:
+ types: [created, edited]
+ workflow_dispatch:
+
+permissions:
+ contents: read
+ pull-requests: write
+
+jobs:
+ reminders:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check comments and create reminders
+ uses: agrc/create-reminder-action@v1