Skip to content

Commit

Permalink
chore: Ignore doc changes (#1899)
Browse files Browse the repository at this point in the history
Fixes #1728

Ignores changes to the `website` folder as well as to any `README.md`
file - should cover the basic cases.
  • Loading branch information
msfstef authored Oct 29, 2024
1 parent 79a2750 commit aebda2f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/elixir_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ name: Elixir CI

on:
push:
branches: ['main']
branches: ["main"]
paths-ignore:
- "website/**"
- "**/README.md"
pull_request:
paths-ignore:
- "website/**"
- "**/README.md"

permissions:
contents: read
Expand Down Expand Up @@ -32,14 +38,14 @@ jobs:
- 54321:5432
steps:
- uses: actions/checkout@v4
- name: 'Set PG settings'
- name: "Set PG settings"
run: |
docker exec ${{ job.services.postgres.id }} sh -c 'echo "wal_level=logical" >> /var/lib/postgresql/data/postgresql.conf'
docker restart ${{ job.services.postgres.id }}
- uses: erlef/setup-beam@v1
with:
version-type: strict
version-file: '.tool-versions'
version-file: ".tool-versions"
- name: Restore dependencies cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -89,14 +95,14 @@ jobs:
- 54321:5432
steps:
- uses: actions/checkout@v4
- name: 'Set PG settings'
- name: "Set PG settings"
run: |
docker exec ${{ job.services.postgres.id }} sh -c 'echo "wal_level=logical" >> /var/lib/postgresql/data/postgresql.conf'
docker restart ${{ job.services.postgres.id }}
- uses: erlef/setup-beam@v1
with:
version-type: strict
version-file: '.tool-versions'
version-file: ".tool-versions"
- name: Restore dependencies cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -134,7 +140,7 @@ jobs:
- uses: erlef/setup-beam@v1
with:
version-type: strict
version-file: '.tool-versions'
version-file: ".tool-versions"
- name: Cache dependencies
id: cache-deps
uses: actions/cache@v4
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ name: Integration Tests

on:
push:
branches: ['main']
branches: ["main"]
paths-ignore:
- "website/**"
- "**/README.md"
pull_request:
paths-ignore:
- "website/**"
- "**/README.md"

permissions:
contents: read
Expand All @@ -20,7 +26,7 @@ jobs:
- uses: erlef/setup-beam@v1
with:
version-type: strict
version-file: '.tool-versions'
version-file: ".tool-versions"
- name: Restore dependencies cache
uses: actions/cache@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ts_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ name: TS tests
on:
push:
branches: ["main"]
paths-ignore:
- "website/**"
- "**/README.md"
pull_request:
paths-ignore:
- "website/**"
- "**/README.md"

permissions:
contents: read
Expand Down

0 comments on commit aebda2f

Please sign in to comment.