File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Notify Pending PR Reviewers
1+ name : Daily PR Review Reminder
22
33on :
4- workflow_dispatch :
54 schedule :
6- - cron : ' 0 16 * * 1-5' # 11:00 AM CT M-F
5+ - cron : " 0 16 * * 1-5" # 11:00 AM CT M-F
6+ workflow_dispatch :
77
88jobs :
99 notify-reviewers :
1010 runs-on : ubuntu-latest
1111 if : github.repository == 'DefectDojo/django-DefectDojo' # Notify only in core repo, not in forks - it would just fail in fork
12-
1312 steps :
14- - name : Checkout repository
15- uses : actions/checkout@v4
13+ - name : Notify reviewers in Slack
14+ uses : DefectDojo-Inc/notify-pr-reviewers-action@master
1615 with :
17- # Only checkout the master branch to avoid changes to this script
18- # This is to reduce the possibilities of a secret leak from modifying
19- # this action, or the python script that is called down below
20- ref : master
21-
22- - name : Set up Python
23- uses : actions/setup-python@v5
24- with :
25- python-version : " 3.13"
26-
27- - name : Install dependencies
28- run : |
29- python -m pip install --upgrade pip
30- pip install requests
31-
32- - name : Run PR reminder script
33- env :
34- GH_TOKEN : ${{ secrets.GH_TOKEN }}
35- SLACK_TOKEN : ${{ secrets.SLACK_TOKEN }}
36- run : |
37- python3 .github/pr-reminder.py
16+ owner : " DefectDojo"
17+ repository : " django-DefectDojo"
18+ gh_token : ${{ secrets.GH_TOKEN }}
19+ slack_token : ${{ secrets.SLACK_TOKEN }}
You can’t perform that action at this time.
0 commit comments