From ba4e1ca5ddc68928c6c53008ff7260e15c3f3ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=BCtt?= Date: Tue, 5 Jul 2022 15:02:47 +0200 Subject: [PATCH] Temporarily activate check-public-api on PR merge --- .github/workflows/check-public-api.yaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/check-public-api.yaml b/.github/workflows/check-public-api.yaml index 71f27f61a6d..38dd0996d55 100644 --- a/.github/workflows/check-public-api.yaml +++ b/.github/workflows/check-public-api.yaml @@ -2,19 +2,11 @@ name: Check public API env: RUST_BACKTRACE: 1 - on: push: - branches: - - 'master' - tags: - # this is _not_ a regex, see: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet - - '[0-9]+.[0-9]+.[0-9]+*' - workflow_dispatch: - inputs: - release: - required: true - description: 'Check public API for changes' + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: setup: name: Set up