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: Skip CI for PRs that only touch docs

Kilian Lieret60593a874a17
diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml
index ae1950e4..69c925db 100644
--- a/.github/workflows/pytest.yaml
+++ b/.github/workflows/pytest.yaml
@@ -5,9 +5,17 @@ on:
push:
branches:
- main
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'mkdocs.yml'
pull_request:
branches:
- main
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'mkdocs.yml'
jobs:
setup_job:
diff --git a/.github/workflows/test_build_containers.yaml b/.github/workflows/test_build_containers.yaml
index 3da17566..69db7f1e 100644
--- a/.github/workflows/test_build_containers.yaml
+++ b/.github/workflows/test_build_containers.yaml
@@ -5,9 +5,17 @@ on:
push:
branches:
- main
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'mkdocs.yml'
pull_request:
branches:
- main
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'mkdocs.yml'
jobs:
setup_job: