mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +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
|
# yamllint disable-line rule:truthy
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
ignore_diff:
|
||||||
|
description: "Ignore checking requirements_diff.txt"
|
||||||
|
default: "false"
|
||||||
|
required: true
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 4 * * *"
|
- cron: "0 4 * * *"
|
||||||
push:
|
push:
|
||||||
@ -28,7 +33,14 @@ jobs:
|
|||||||
uses: home-assistant/actions/helpers/info@master
|
uses: home-assistant/actions/helpers/info@master
|
||||||
|
|
||||||
- name: Create requirements_diff file
|
- 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
|
- name: Write env-file
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user