Skip to content

Run calendar workflow on PRs and avoid committing PR updates#13

Merged
ianfab merged 1 commit intomainfrom
codex/update-calendar-action-for-pull-requests
Feb 12, 2026
Merged

Run calendar workflow on PRs and avoid committing PR updates#13
ianfab merged 1 commit intomainfrom
codex/update-calendar-action-for-pull-requests

Conversation

@ianfab
Copy link
Copy Markdown
Member

@ianfab ianfab commented Feb 12, 2026

Motivation

  • Allow the tournament updater to run for pull_request events so reviewers can see what would change while ensuring PR runs never push commits back to the branch.

Description

  • Add a pull_request trigger to .github/workflows/calendar.yml, add a pull-request-only step that writes the git diff -- _data/tournaments.tsv output into $GITHUB_STEP_SUMMARY, and gate the auto-commit action with if: github.event_name != 'pull_request' so commits only occur for non-PR runs.

Testing

  • Verified the workflow file changes with git diff -- .github/workflows/calendar.yml, inspected the updated file with nl -ba .github/workflows/calendar.yml, and confirmed the working tree with git status --short, all commands completed successfully.

Codex Task

@ianfab ianfab merged commit 68f3e45 into main Feb 12, 2026
3 of 4 checks passed
@ianfab ianfab deleted the codex/update-calendar-action-for-pull-requests branch February 12, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant