Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

CI: Avoid link checker /# false positives (#1255)

Kilian Lieretd7a2c48f05a5
diff --git a/.github/workflows/check-links-periodic.yaml b/.github/workflows/check-links-periodic.yaml
index 26f8c3d0..4892f8de 100644
--- a/.github/workflows/check-links-periodic.yaml
+++ b/.github/workflows/check-links-periodic.yaml
@@ -5,6 +5,7 @@ on:
push:
branches:
- main
+ - link-checker-test*
schedule:
- cron: "0 0 1 * *"
diff --git a/mlc_config.json b/mlc_config.json
index 4573f97e..7c1dbd2b 100644
--- a/mlc_config.json
+++ b/mlc_config.json
@@ -20,6 +20,18 @@
},
{
"pattern": "https://linuxize.com/post/bash-heredoc/"
+ },
+ {
+ "pattern": "https://leetcode.com/problems/.*"
+ },
+ {
+ "pattern": ".*\\.md/#sweagent\\..*"
+ }
+ ],
+ "replacements": [
+ {
+ "pattern": "/#.*",
+ "replacement": ""
}
]
}