Skip to content

Commit 3af74a1

Browse files
authored
ci: include new files in new directories for pr body (#190)
By default files in new directories are not listed, in favor of just the directory itself
1 parent 465ff2d commit 3af74a1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/list_changed_advisories.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
import re
88
import subprocess
99

10-
output = subprocess.check_output(['git', 'status', '--porcelain'], text=True)
10+
output = subprocess.check_output(
11+
['git', 'status', '--untracked-files', '--porcelain'], text=True
12+
)
1113

1214
for line in output.split('\n'):
1315
match = re.match(r'.. advisories/\w+/(DRUPAL-.*)', line)

0 commit comments

Comments
 (0)