Skip to content

Commit

Permalink
Run GH actions on pull request (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
evroon committed Feb 22, 2024
1 parent 9700263 commit 94c14fa
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: backend
on:
workflow_dispatch:
pull_request:
paths:
- 'backend/**'
push:
branches:
- 'master'

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ name: docker

on:
workflow_dispatch:
push:
pull_request:
paths:
- 'backend/**'
- 'frontend/**'
- 'docker-compose.yml'
push:
branches:
- 'master'

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docs_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ name: docs test

on:
workflow_dispatch:
push:
pull_request:
paths:
- 'docs/**'
push:
branches:
- 'master'

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ name: frontend

on:
workflow_dispatch:
push:
pull_request:
paths:
- 'frontend/**'
push:
branches:
- 'master'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create and publish a Docker image
name: docker publish

on:
workflow_dispatch:
Expand Down

0 comments on commit 94c14fa

Please sign in to comment.