diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.yml index 5f33a0cd1..cb5035040 100644 --- a/.github/workflows/_lint.yml +++ b/.github/workflows/_lint.yml @@ -1,9 +1,7 @@ name: lint on: - push: - branches: [main] - pull_request: + workflow_call: env: POETRY_VERSION: "1.7.1" diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index f060f1a02..2fbf2076c 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -1,9 +1,7 @@ name: test on: - push: - branches: [main] - pull_request: + workflow_call: env: POETRY_VERSION: "1.7.1" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b292e19d3..5ec781364 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ on: push: - branches: [master] + branches: [main] pull_request: # If another push to the same PR or branch happens while this workflow is still running,