Skip to content

fix(ci): push the verification status refresh to TechAPI develop - #56

Merged
Seungpyo1007 merged 1 commit into
mainfrom
fix/verify-status-pushes-develop
Aug 6, 2026
Merged

fix(ci): push the verification status refresh to TechAPI develop#56
Seungpyo1007 merged 1 commit into
mainfrom
fix/verify-status-pushes-develop

Conversation

@Seungpyo1007

Copy link
Copy Markdown
Member

Problem

verify-status checks out TechAPI's default branch — develop since the git-flow switch — commits the refreshed status.json there, and then pushes HEAD:main. main has not moved since, so the push is rejected and every run fails after doing all of its work:

[develop b16923c] chore(verify): refresh verification status aggregate
 1 file changed, 74 insertions(+), 47 deletions(-)
! [rejected]   HEAD -> main (fetch first)
error: failed to push some refs to 'https://github.com/GetTechAPI/TechAPI'

data/_verify/status.json on develop is consequently stale since 2026-07-31 — it still reports 14,777 verified when the real figure is 20,777, and it is what the homepage renders.

Change

  • push HEAD:develop
  • pin ref: develop on the TechAPI checkout so the branch worked on cannot drift from the push target again
  • git pull --rebase origin develop first, since several bots write to develop and a status refresh is not worth failing over a race

bump-techapi.yml also pushes HEAD:main, and that one is correct — it targets TechEngine's own main, which has no develop.

This is the last of the git-flow leftovers; the same class of fix as #54 (weekly-ingest) and #50 (promotion PRs).

Refs #1

The job checks out TechAPI's default branch — develop since the git-flow
switch — commits the refreshed status.json there, then pushed HEAD:main.
main has not moved since, so the push is rejected as non-fast-forward
and every run fails after doing all the work: status.json on develop is
stale since 2026-07-31.

Push to develop, pin the checkout ref so it cannot drift from the push
target again, and rebase first since several bots write to develop and
a status refresh is not worth failing over a race.

(bump-techapi.yml's HEAD:main is correct — that one pushes to
TechEngine's own main, which has no develop.)

Refs #1
@Seungpyo1007 Seungpyo1007 added the bug Something isn't working label Aug 6, 2026
@Seungpyo1007 Seungpyo1007 self-assigned this Aug 6, 2026
@Seungpyo1007
Seungpyo1007 merged commit d0fc7e0 into main Aug 6, 2026
1 check passed
@Seungpyo1007
Seungpyo1007 deleted the fix/verify-status-pushes-develop branch August 6, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant