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:
Paul Gauthier 2024-06-05 15:57:29 -07:00
parent a10077f6c9
commit cc8151e3b2
3 changed files with 12 additions and 0 deletions

View file

@ -2,9 +2,13 @@ name: Docker Build Test
on:
push:
paths-ignore:
- 'website/**'
branches:
- main
pull_request:
paths-ignore:
- 'website/**'
paths-ignore:
- 'website/**'
branches:

View file

@ -2,9 +2,13 @@ name: Ubuntu Python Tests
on:
push:
paths-ignore:
- 'website/**'
branches:
- main
pull_request:
paths-ignore:
- 'website/**'
paths-ignore:
- 'website/**'
branches:

View file

@ -2,9 +2,13 @@ name: Windows Python Tests
on:
push:
paths-ignore:
- 'website/**'
branches:
- main
pull_request:
paths-ignore:
- 'website/**'
paths-ignore:
- 'website/**'
branches: