diff --git a/.github/workflows/charmcraft-pack.yaml b/.github/workflows/charmcraft-pack.yaml index 09781a3a6..1e9da1db5 100644 --- a/.github/workflows/charmcraft-pack.yaml +++ b/.github/workflows/charmcraft-pack.yaml @@ -1,6 +1,10 @@ name: Charmcraft Pack Test -on: [push, pull_request, workflow_call] +on: + push: + branches: + - main + pull_request: jobs: charmcraft-pack: diff --git a/.github/workflows/db-charm-tests.yaml b/.github/workflows/db-charm-tests.yaml index 81aa3ff2a..9f5d3a698 100644 --- a/.github/workflows/db-charm-tests.yaml +++ b/.github/workflows/db-charm-tests.yaml @@ -1,6 +1,11 @@ name: Data Charm Tests -on: [push, pull_request, workflow_call] +on: + push: + branches: + - main + pull_request: + workflow_call: jobs: db-charm-tests: diff --git a/.github/workflows/framework-tests.yaml b/.github/workflows/framework-tests.yaml index 0979b03b6..820c04ce0 100644 --- a/.github/workflows/framework-tests.yaml +++ b/.github/workflows/framework-tests.yaml @@ -1,6 +1,11 @@ name: ops Tests -on: [push, pull_request, workflow_call] +on: + push: + branches: + - main + pull_request: + workflow_call: jobs: lint: diff --git a/.github/workflows/hello-charm-tests.yaml b/.github/workflows/hello-charm-tests.yaml index 3a756af3c..3bd163463 100644 --- a/.github/workflows/hello-charm-tests.yaml +++ b/.github/workflows/hello-charm-tests.yaml @@ -1,6 +1,11 @@ name: Hello Charm Tests -on: [push, pull_request, workflow_call] +on: + push: + branches: + - main + pull_request: + workflow_call: jobs: hello-charm-tests: diff --git a/.github/workflows/observability-charm-tests.yaml b/.github/workflows/observability-charm-tests.yaml index b3e4bd2c2..e70e16e5d 100644 --- a/.github/workflows/observability-charm-tests.yaml +++ b/.github/workflows/observability-charm-tests.yaml @@ -1,6 +1,11 @@ name: Observability Charm Tests -on: [push, pull_request, workflow_call] +on: + push: + branches: + - main + pull_request: + workflow_call: jobs: o11y-charm-tests: