From 50a88eb6c0dd026f187d340e70e769a2bac88e44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 11 May 2021 12:29:13 +0200 Subject: [PATCH] Use empty requirements_diff for schedule and workflow_dispatch (#50450) --- .github/workflows/wheels.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 72af301be1c..2dc8eb1d29b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -3,11 +3,6 @@ name: Build wheels # yamllint disable-line rule:truthy on: workflow_dispatch: - inputs: - ignore_diff: - description: "Ignore checking requirements_diff.txt" - default: "false" - required: true schedule: - cron: "0 4 * * *" push: @@ -34,12 +29,10 @@ jobs: - name: Create requirements_diff file run: | - curl -s -o requirements_diff.txt https://raw.githubusercontent.com/home-assistant/core/dev/requirements.txt - - if [[ ${{ github.event_name }} == "workflow_dispatch" ]]; then - if [[ ${{ github.event.inputs.ignore_diff }} == "true" ]]; then - echo "" > requirements_diff.txt - fi + if [[ ${{ github.event_name }} ~= (schedule|workflow_dispatch) ]]; then + touch requirements_diff.txt + else + curl -s -o requirements_diff.txt https://raw.githubusercontent.com/home-assistant/core/master/requirements.txt fi - name: Write env-file