Fix compare syntax (#50451)

This commit is contained in:
Joakim Sørensen 2021-05-11 13:23:56 +02:00 committed by GitHub
parent bc9f0caf4a
commit 236f138ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ jobs:
- name: Create requirements_diff file
run: |
if [[ ${{ github.event_name }} ~= (schedule|workflow_dispatch) ]]; then
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