From bcec3795d904f5f4a313074c08e04f8535f3832a Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Tue, 8 Feb 2022 18:25:42 -0100 Subject: [PATCH] Reduce how often dependency tests run --- .github/workflows/test_outdated_versions.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_outdated_versions.yml b/.github/workflows/test_outdated_versions.yml index 2c387cef5..e8245bf95 100644 --- a/.github/workflows/test_outdated_versions.yml +++ b/.github/workflows/test_outdated_versions.yml @@ -2,10 +2,16 @@ # name: "Outdated Dependency Tests" -on: [push, pull_request] +on: + pull_request: + types: [ labeled ] + workflow_dispatch: + schedule: + - cron: '0 0 * * 1 jobs: test: + if: ${{ github.event.label.name == 'moto-core' }} runs-on: ubuntu-latest strategy: fail-fast: false