Skip to content

Commit

Permalink
ci: update workflows to run on feature branch PRs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Dec 13, 2024
1 parent bc7cd83 commit 5c2e92f
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Audit

on:
pull_request:
branches: [ main ]
branches:
- main
- 'feature/**'

jobs:
security_audit:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/bats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: "E2E Tests"

on:
pull_request:
branches: [main]
branches:
- main
- 'feature/**'

jobs:
integration:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/check-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Check Code

on:
pull_request:
branches: [main]
branches:
- main
- 'feature/**'

jobs:
check-code-backend:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Spelling

on:
pull_request:
branches: [ main ]
branches:
- main
- 'feature/**'

jobs:
spelling:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Storybook

on:
pull_request:
branches: [main]
branches:
- main
- 'feature/**'
paths:
- "apps/admin-panel/**"
push:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: "Integration Tests"

on:
pull_request:
branches: [main]
branches:
- main
- 'feature/**'

jobs:
integration:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/vendor/rust-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Audit

on:
pull_request:
branches: [ main ]
branches:
- main
- 'feature/**'

jobs:
security_audit:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/vendor/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Spelling

on:
pull_request:
branches: [ main ]
branches:
- main
- 'feature/**'

jobs:
spelling:
Expand Down

0 comments on commit 5c2e92f

Please sign in to comment.