make changes to the workflow file
Update Calendar / update-calendar (push) Failing after 3s Details

This commit is contained in:
Drew 2025-11-21 06:09:42 -05:00
parent 006f6046f1
commit 00052f050d
1 changed files with 7 additions and 9 deletions

View File

@ -33,19 +33,17 @@ jobs:
run: |
python generate_calendar.py
- name: Check for changes
id: check_changes
run: |
git diff --quiet calendar.ics README.md || echo "changed=true" >> $GITHUB_OUTPUT
- name: Commit and push changes
if: steps.check_changes.outputs.changed == 'true'
run: |
git config --local user.email "noreply@thelinuxcast.org"
git config --local user.name "Calendar Bot"
git add calendar.ics README.md
git commit -m "Auto-update calendar files
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "Auto-update calendar files
🤖 Generated with automation"
git pull --rebase origin main
git push
git pull --rebase origin main
git push
fi