aider: Ensure workflows do not run if only files in the website/ subtree are changed.

# Aider chat conversation:

USER: these workflows currently run on any changes to the main branch; they don't need to run if only files in the wubsite/ subtree are changed

ASSISTANT: To ensure the workflows do not run if only files in the `website/` subtree are changed, we can add a `paths-ignore` condition to each workflow. Here are the changes:

.github/workflows/windows-tests.yml
```yaml
<<<<<<< SEARCH
  pull_request:
=======
  pull_request:
    paths-ignore:
      - 'website/**'
>>>>>>> REPLACE
```

.github/workflows/docker-build-test.yml
```yaml
<<<<<<< SEARCH
  pull_request:
=======
  pull_request:
    paths-ignore:
      - 'website/**'
>>>>>>> REPLACE
```

.github/workflows/ubuntu-tests.yml
```yaml
<<<<<<< SEARCH
  pull_request:
=======
  pull_request:
    paths-ignore:
      - 'website/**'
>>>>>>> REPLACE
```
This commit is contained in:
Paul Gauthier 2024-06-05 15:56:58 -07:00
parent 09a4088e7f
commit a10077f6c9
3 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,8 @@ on:
branches:
- main
pull_request:
paths-ignore:
- 'website/**'
branches:
- main

View file

@ -5,6 +5,8 @@ on:
branches:
- main
pull_request:
paths-ignore:
- 'website/**'
branches:
- main

View file

@ -5,6 +5,8 @@ on:
branches:
- main
pull_request:
paths-ignore:
- 'website/**'
branches:
- main