mirror of
https://github.com/django/django.git
synced 2025-12-23 09:19:27 +00:00
Added GitHub Actions to create and check for reminders in pull requests.
This commit is contained in:
parent
f835787f71
commit
1fd57f2a21
2 changed files with 34 additions and 0 deletions
17
.github/workflows/reminders_check.yml
vendored
Normal file
17
.github/workflows/reminders_check.yml
vendored
Normal file
|
|
@ -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
.github/workflows/reminders_create.yml
vendored
Normal file
17
.github/workflows/reminders_create.yml
vendored
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue