We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f58a7 commit 4d72357Copy full SHA for 4d72357
.github/scripts/send-advisory.py
@@ -7,7 +7,7 @@
7
latest_advisory = max(Path("docs/advisories").glob("*.md"))
8
today = latest_advisory.name[:8]
9
advisory_mds = {}
10
-base_url = "https://soc.cyber.wa.gov.au/"
+base_url = "https://soc.cyber.wa.gov.au/advisories/"
11
12
if sys.argv[1].startswith(base_url):
13
# If a url is provided, find the relevant advisory and send it
@@ -21,7 +21,7 @@
21
print(file)
22
if file.startswith(f"docs/advisories/{today}"):
23
file = Path(file)
24
- url = base_url + file.relative_to("docs").stem
+ url = base_url + file.stem
25
advisory_mds[url] = file.read_text()
26
27
print("Preparing to send below advisories: ")
0 commit comments