소스 검색

Added GitHub Actions to create and check for reminders in pull requests.

nessita 1 년 전
부모
커밋
1fd57f2a21
2개의 변경된 파일34개의 추가작업 그리고 0개의 파일을 삭제
  1. 17 0
      .github/workflows/reminders_check.yml
  2. 17 0
      .github/workflows/reminders_create.yml

+ 17 - 0
.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

+ 17 - 0
.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