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]

Add markdown link checker (#129)

Kilian Lieret06309e0edb88
diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml
new file mode 100644
index 00000000..0990af83
--- /dev/null
+++ b/.github/workflows/check-links.yaml
@@ -0,0 +1,14 @@
+name: Check Markdown links
+
+on:
+ push:
+ pull_request:
+ schedule:
+ - cron: "0 0 1 * *"
+
+jobs:
+ markdown-link-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - uses: gaurav-nelson/github-action-markdown-link-check@v1
diff --git a/mlc_config.json b/mlc_config.json
new file mode 100644
index 00000000..63a7be00
--- /dev/null
+++ b/mlc_config.json
@@ -0,0 +1,13 @@
+{
+ "ignorePatterns": [
+ {
+ "pattern": "https://github.com/issues?.*"
+ },
+ {
+ "pattern": ".*localhost.*"
+ },
+ {
+ "pattern": "https://platform.openai.com/docs/.*"
+ }
+ ]
+}
diff --git a/scripts/README.md b/scripts/README.md
index 54777d9f..db881fc8 100644
--- a/scripts/README.md
+++ b/scripts/README.md
@@ -11,7 +11,7 @@ A single `run.py` call will generate a `trajectory/<username>/<experiment name>`
The following is a comprehensive guide to using the provided `run.py` script, detailing available command-line arguments, their purposes, and default values. Flags that you might find helpful have been marked with a 💡.
-The code and explanation of the implementations for *configuration based workflows* are explained in [`agent/`](../agent/README.md).
+The code and explanation of the implementations for *configuration based workflows* are explained in [`agent/`](../sweagent/agent/README.md).
Run `python run.py --help` to view this documentation on the command line.