You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
revert(ci): use peter-evans/create-pull-request for refresh PR
Reverts the gh + native git workflow back to peter-evans/create-pull-request@v6.
The append-commits design was tempting but the single-squash-commit model that
peter-evans provides is the better fit here:
- When the responses are unchanged across runs, peter-evans diffs tree (not
commit SHA), so identical content -> no push, no PR churn. The branch sits
untouched even though the locally computed commit would have a fresh
timestamp.
- When the responses change, the branch is force-pushed with a new single
commit. The diff against main always reflects the latest API state in one
reviewable chunk, instead of accumulating a growing chain of incremental
refresh commits.
- When the responses match main (typically after the PR has been merged),
peter-evans automatically closes the PR and deletes the branch.
Kept from the previous iteration: the concurrency group so cron and manual
workflow_dispatch runs cannot race, and the comment documenting the manual
trigger.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
--body "Automated refresh of \`data/v3-languages/\` from \`https://api.deepl.com/v3/languages\`, opened by the \`refresh-v3-languages\` workflow.
105
-
106
-
Subsequent runs append new commits to this PR when the responses change again, so the diff against \`main\` represents the cumulative update. Review the latest state and merge when ready.
0 commit comments