mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
aider: Add paths-ignore condition under the push event in workflows to prevent running if only files in the website/
subtree are changed.
# Aider chat conversation: USER: do we need that under the `push:` too? ASSISTANT: Yes, we should add the `paths-ignore` condition under the `push` event as well to ensure the workflows do not run if only files in the `website/` subtree are changed. Here are the updated *SEARCH/REPLACE* blocks: .github/workflows/windows-tests.yml ```yaml <<<<<<< SEARCH pull_request: ======= pull_request: paths-ignore: - 'website/**' >>>>>>> REPLACE ``` .github/workflows/windows-tests.yml ```yaml <<<<<<< SEARCH push: ======= push: paths-ignore: - 'website/**' >>>>>>> REPLACE ``` .github/workflows/docker-build-test.yml ```yaml <<<<<<< SEARCH pull_request: ======= pull_request: paths-ignore: - 'website/**' >>>>>>> REPLACE ``` .github/workflows/docker-build-test.yml ```yaml <<<<<<< SEARCH push: ======= push: paths-ignore: - 'website/**' >>>>>>> REPLACE ``` .github/workflows/ubuntu-tests.yml ```yaml <<<<<<< SEARCH pull_request: ======= pull_request: paths-ignore: - 'website/**' >>>>>>> REPLACE ``` .github/workflows/ubuntu-tests.yml ```yaml <<<<<<< SEARCH push: ======= push: paths-ignore: - 'website/**' >>>>>>> REPLACE ```
This commit is contained in:
parent
a10077f6c9
commit
cc8151e3b2
3 changed files with 12 additions and 0 deletions
4
.github/workflows/docker-build-test.yml
vendored
4
.github/workflows/docker-build-test.yml
vendored
|
@ -2,9 +2,13 @@ name: Docker Build Test
|
|||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
branches:
|
||||
|
|
4
.github/workflows/ubuntu-tests.yml
vendored
4
.github/workflows/ubuntu-tests.yml
vendored
|
@ -2,9 +2,13 @@ name: Ubuntu Python Tests
|
|||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
branches:
|
||||
|
|
4
.github/workflows/windows-tests.yml
vendored
4
.github/workflows/windows-tests.yml
vendored
|
@ -2,9 +2,13 @@ name: Windows Python Tests
|
|||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
paths-ignore:
|
||||
- 'website/**'
|
||||
branches:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue