mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Add ignore_diff to workflow_dispatch trigger (#50449)
This commit is contained in:
parent
d6dcf95235
commit
ef67a2659e
14
.github/workflows/wheels.yml
vendored
14
.github/workflows/wheels.yml
vendored
@ -3,6 +3,11 @@ 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:
|
||||
@ -28,7 +33,14 @@ jobs:
|
||||
uses: home-assistant/actions/helpers/info@master
|
||||
|
||||
- name: Create requirements_diff file
|
||||
run: curl -s -o requirements_diff.txt https://raw.githubusercontent.com/home-assistant/core/dev/requirements.txt
|
||||
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
|
||||
fi
|
||||
|
||||
- name: Write env-file
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user