CI security hardening: prevent template injection in wheels workflow (#163073)

This commit is contained in:
Franck Nijhof
2026-02-15 16:25:43 +01:00
committed by GitHub
parent 7a52d71b40
commit 980507480b

View File

@@ -53,7 +53,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