Skip to content

Commit

Permalink
feat: dont trigger workflows when github actions are updated
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Jan 23, 2024
1 parent 504a9e7 commit 0a760f9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/angular-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Prettier & Lint
on:
push:
branches: [ main ]
paths-ignore:
# Ignore workflow changes
- '.github/**'

pull_request:
branches: [ main ]

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/angular-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ name: Angular Unit Tests
on:
push:
branches: [ main ]
paths-ignore:
# Ignore workflow changes
- '.github/**'
pull_request:
branches: [ main ]

workflow_call:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -22,4 +25,4 @@ jobs:
run: npm ci
- name: Run tests
working-directory: ui
run: npm test
run: npm test
4 changes: 4 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ name: Java CI with Maven
on:
push:
branches: [ main ]
paths-ignore:
# Ignore workflow changes
- '.github/**'

pull_request:
branches: [ main ]

Expand Down

0 comments on commit 0a760f9

Please sign in to comment.