From 321ebf538e3b36068a366c437fef1401429d5910 Mon Sep 17 00:00:00 2001 From: Anthony Volk Date: Thu, 9 Jul 2026 21:43:04 +0200 Subject: [PATCH] Point release consumer dispatch at renamed policyengine-sim-api (#466) The consumer repo policyengine-api-v2 was renamed to policyengine-sim-api. actions/create-github-app-token (the installation access-token API) does not follow repo renames, so the release NotifyConsumers job failed with a 422 and never dispatched policyengine-release to consumers. Update the repo name in push.yaml (App token scope) and dispatch-policyengine-release.sh (CONSUMER_REPOS). The historical CHANGELOG.md entry is left as shipped-release history. Co-Authored-By: Claude Opus 4.8 --- .github/dispatch-policyengine-release.sh | 2 +- .github/workflows/push.yaml | 2 +- changelog.d/466.fixed.md | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/466.fixed.md diff --git a/.github/dispatch-policyengine-release.sh b/.github/dispatch-policyengine-release.sh index 2b487cab..fa2b3579 100755 --- a/.github/dispatch-policyengine-release.sh +++ b/.github/dispatch-policyengine-release.sh @@ -17,7 +17,7 @@ fi CONSUMER_REPOS=( policyengine-api - policyengine-api-v2 + policyengine-sim-api ) for repo in "${CONSUMER_REPOS[@]}"; do diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index b5a51d62..d7ba2b12 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -211,7 +211,7 @@ jobs: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} owner: PolicyEngine - repositories: policyengine-api,policyengine-api-v2 + repositories: policyengine-api,policyengine-sim-api - name: Dispatch policyengine-release to consumer repos env: GH_TOKEN: ${{ steps.app-token.outputs.token }} diff --git a/changelog.d/466.fixed.md b/changelog.d/466.fixed.md new file mode 100644 index 00000000..3c399769 --- /dev/null +++ b/changelog.d/466.fixed.md @@ -0,0 +1 @@ +Point the post-release consumer dispatch at the renamed `policyengine-sim-api` repository (formerly `policyengine-api-v2`). The stale name made `create-github-app-token` fail with a 422 ("repository does not exist or is not accessible"), so the `Open consumer update PRs` job died before dispatching `policyengine-release` and no downstream version-bump PRs were opened.