Skip to content

Commit

Permalink
trigger workflows on pull request also
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitRanque committed Oct 7, 2024
1 parent 95f495e commit 830214d
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Postgres NDC component benchmarks

on:
push:
pull_request:
branches:
- main

permissions:
contents: write
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/cargo-audit.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
on: [push]
on:
push:
pull_request:
branches:
- main


name: cargo audit

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cargo-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Postgres NDC build

on:
push:
pull_request:
branches:
- main


jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cargo-machete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: find unused dependencies

on:
push:
pull_request:
branches:
- main


jobs:
cargo-machete:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cargo-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Postgres NDC tests

on:
push:
pull_request:
branches:
- main

jobs:
test-unit:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Postgres NDC format

on:
push:
pull_request:
branches:
- main

jobs:
cargo-fmt:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Postgres E2E tests

on:
push:
pull_request:
branches:
- main

jobs:
run_postgres_e2es:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nix-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Postgres NDC nix check

on:
push:
pull_request:
branches:
- main

jobs:
nix-flake-check:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/schema-definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Schema Definitions for Metadata

on:
push:
pull_request:
branches:
- main

jobs:
schema_definitions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ship.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: ship

on:
push:
pull_request:
branches:
- main

jobs:
nix-build:
Expand Down

0 comments on commit 830214d

Please sign in to comment.