diff --git a/.github/workflows/build-feeds.yml b/.github/workflows/build-feeds.yml index 4fc77e3..9e3b120 100644 --- a/.github/workflows/build-feeds.yml +++ b/.github/workflows/build-feeds.yml @@ -36,7 +36,8 @@ jobs: run: | python -m pip install --upgrade pip pip install . - -- name: Configure git + + - name: Configure git run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" @@ -62,8 +63,8 @@ jobs: echo "No changes to commit" exit 0 fi - git commit -m "feeds: federal popular initiatives update $(date -u +%Y-%m-%d)" + - name: Generate feeds for asian hornets sighting in Bern run: | if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ "${{ inputs.verbose }}" = "true" ]; then @@ -86,8 +87,8 @@ jobs: echo "No changes to commit" exit 0 fi - git commit -m "feeds: asian hornets sighting in Bern update $(date -u +%Y-%m-%d)" + - name: Push changes run: | git push origin main