CI: fix yaml error

This commit is contained in:
2026-06-16 22:30:17 +02:00
parent 79b914e544
commit 4ad09e714f
+4 -3
View File
@@ -36,7 +36,8 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install . pip install .
-- name: Configure git
- name: Configure git
run: | run: |
git config user.name "github-actions[bot]" git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com" git config user.email "github-actions[bot]@users.noreply.github.com"
@@ -62,8 +63,8 @@ jobs:
echo "No changes to commit" echo "No changes to commit"
exit 0 exit 0
fi fi
git commit -m "feeds: federal popular initiatives update $(date -u +%Y-%m-%d)" git commit -m "feeds: federal popular initiatives update $(date -u +%Y-%m-%d)"
- name: Generate feeds for asian hornets sighting in Bern - name: Generate feeds for asian hornets sighting in Bern
run: | run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ "${{ inputs.verbose }}" = "true" ]; then if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ "${{ inputs.verbose }}" = "true" ]; then
@@ -86,8 +87,8 @@ jobs:
echo "No changes to commit" echo "No changes to commit"
exit 0 exit 0
fi fi
git commit -m "feeds: asian hornets sighting in Bern update $(date -u +%Y-%m-%d)" git commit -m "feeds: asian hornets sighting in Bern update $(date -u +%Y-%m-%d)"
- name: Push changes - name: Push changes
run: | run: |
git push origin main git push origin main