diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index b486791..a9ec14a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -1,6 +1,9 @@ name: Benchmark -on: [push] +on: + push: + branches: [main] + pull_request: permissions: contents: read diff --git a/.github/workflows/check-semantic.yml b/.github/workflows/check-semantic.yml index 682b334..9d6efdd 100644 --- a/.github/workflows/check-semantic.yml +++ b/.github/workflows/check-semantic.yml @@ -1,10 +1,12 @@ name: Semantic PR on: - pull_request_target: + # pull_request_target never runs on release-please PRs (opened with GITHUB_TOKEN) + pull_request: types: - opened - edited - synchronize + - reopened permissions: pull-requests: read jobs: diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index 21045e5..4d245c0 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -1,6 +1,9 @@ name: Test Examples -on: [push] +on: + push: + branches: [main] + pull_request: permissions: contents: read diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 3ce77d6..efa3eb3 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -1,6 +1,9 @@ name: Unit Tests -on: [push] +on: + push: + branches: [main] + pull_request: permissions: contents: read