Skip to content

ci: drop pull_request trigger from Format bib (push to master only)#166

Merged
AmitMY merged 1 commit into
masterfrom
ci/format-bib-concurrency
Apr 28, 2026
Merged

ci: drop pull_request trigger from Format bib (push to master only)#166
AmitMY merged 1 commit into
masterfrom
ci/format-bib-concurrency

Conversation

@AmitMY
Copy link
Copy Markdown
Contributor

@AmitMY AmitMY commented Apr 28, 2026

Summary

The Format bib workflow runs rebiber and auto-commits the result back to the branch via stefanzweifel/git-auto-commit-action. When triggered on both push and pull_request events, both runs race to push the auto-commit and one fails with [rejected] (fetch first), turning the check red even though the bib content is fine. (See e.g. the spurious red Format bib checks on the recent SignLang 2024 PRs like #143.)

This drops the pull_request trigger so the workflow only runs on pushes to main/master. The auto-formatter still runs (post-merge), and PRs no longer have a flaky Format bib check.

Test plan

  • On merge, the Format bib workflow runs once on the master push and the auto-commit succeeds.
  • Future PRs no longer show a Format bib check at all.

The 'Format bib' workflow runs rebiber and auto-commits the result back to
the branch. When triggered on both push and pull_request events, both runs
race to push the auto-commit and one fails with '[rejected] (fetch first)',
turning the check red even though the bib content is fine.

Restrict the trigger to pushes on main/master so the formatter only runs
post-merge. The check no longer needs to gate PRs because the bib auto-format
on master is sufficient.
@AmitMY AmitMY force-pushed the ci/format-bib-concurrency branch from 50ff207 to 68f9b0d Compare April 28, 2026 11:45
@AmitMY AmitMY changed the title ci: serialize Format bib runs per-ref to fix auto-commit push race ci: drop pull_request trigger from Format bib (push to master only) Apr 28, 2026
@AmitMY AmitMY merged commit 5c369b8 into master Apr 28, 2026
1 check passed
@AmitMY AmitMY deleted the ci/format-bib-concurrency branch April 28, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant