File tree Expand file tree Collapse file tree 3 files changed +9
-250
lines changed Expand file tree Collapse file tree 3 files changed +9
-250
lines changed 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
2
2
3
3
on :
4
- workflow_dispatch :
5
4
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 :
7
7
8
8
jobs :
9
9
notify-reviewers :
10
10
runs-on : ubuntu-latest
11
11
if : github.repository == 'DefectDojo/django-DefectDojo' # Notify only in core repo, not in forks - it would just fail in fork
12
-
13
12
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
16
15
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 }}
Original file line number Diff line number Diff line change @@ -114,9 +114,6 @@ preview = true
114
114
" S105" , # hardcoded passwords in tests are fine
115
115
" S108" , # tmp paths mentioned in tests are fine
116
116
]
117
- ".github/pr-reminder.py" = [
118
- " INP001" , # https://docs.astral.sh/ruff/rules/implicit-namespace-package/
119
- ]
120
117
121
118
[lint .flake8-boolean-trap ]
122
119
extend-allowed-calls = [" dojo.utils.get_system_setting" ]
You can’t perform that action at this time.
0 commit comments