Skip to content

Commit

Permalink
GHA: ignore unrelated file changes (#297)
Browse files Browse the repository at this point in the history
Signed-off-by: Isabella do Amaral <[email protected]>
  • Loading branch information
isinyaaa authored Aug 27, 2024
1 parent d4efa25 commit 57d3e71
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ on:
branches:
- "main"
pull_request:
paths-ignore:
- "LICENSE*"
- "**.gitignore"
- "**.md"
- "**.txt"
- ".github/ISSUE_TEMPLATE/**"
- ".github/dependabot.yml"
- "docs/**"
jobs:
tests:
name: ${{ matrix.session }} ${{ matrix.python }}
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/ui-bff-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: UI - BFF - Build
on:
push:
branches:
- 'main'
- "main"
pull_request:
paths-ignore:
- 'LICENSE*'
- 'DOCKERFILE*'
- '**.gitignore'
- "LICENSE*"
- "DOCKERFILE*"
- "**.gitignore"
- "**.md"
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -17,7 +18,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.2'
go-version: "1.22.2"

- name: Clean
working-directory: clients/ui/bff
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/ui-frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: UI - Frontend - Test and Build
on:
push:
branches:
- 'main'
- "main"
pull_request:
paths-ignore:
- 'LICENSE*'
- 'DOCKERFILE*'
- '**.gitignore'
- "LICENSE*"
- "DOCKERFILE*"
- "**.gitignore"
- "**.md"
jobs:
test-and-build:
runs-on: ubuntu-latest
Expand All @@ -17,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "20"

- name: Install dependencies
working-directory: clients/ui/frontend
Expand Down Expand Up @@ -45,4 +46,5 @@ jobs:
echo "Uncommitted file changes detected: $clean"
git diff
exit 1
fi
fi

0 comments on commit 57d3e71

Please sign in to comment.