Annotations for…
- User
Annotations for https://github.com/AwaNoodle/pr-reviewer-chatbot/actions/runs/23318947649 show an out-of-date warning for the docker release workflow. Identify where the issue is a propose a change.
- Assistant
You’re getting that warning because the Docker release workflow is still pinned to action majors that run on Node 20.
- The warning in run
23318947649says Node 20 action runtimes are deprecated (actions/checkout@v4,docker/setup-buildx-action@v3,docker/login-action@v3,docker/build-push-action@v5). - Those references are in
.github/workflows/docker-release.yml:19,.github/workflows/docker-release.yml:24,.github/workflows/docker-release.yml:27, and.github/workflows/docker-release.yml:58. - I verified upstream action metadata: current majors (
checkout@v5,setup-buildx-action@v4,login-action@v4,build-push-action@v7) usenode24, while your current ones usenode20.
Proposed change (minimal + targeted):
# .github/workflows/docker-release.yml - uses: actions/checkout@v4 + uses: actions/checkout@v5 - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - uses: docker/login-action@v3 + uses: docker/login-action@v4 - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 - The warning in run
- User
Apply the patch, including the force actions
- Assistant
Done — I applied the patch and included the forced Node 24 runtime flag.
- Updated action versions in
.github/workflows/docker-release.yml:19,.github/workflows/docker-release.yml:26,.github/workflows/docker-release.yml:29,.github/workflows/docker-release.yml:60:actions/checkout@v5docker/setup-buildx-action@v4docker/login-action@v4docker/build-push-action@v7
- Added workflow env opt-in in
.github/workflows/docker-release.yml:16:FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
- Updated plan tracking in
plans/plan.md:373with a completed section for this workflow runtime update.
Validation I ran:
npm run lint -- --max-warnings=0npm run buildnpm run test
All passed. Build still reports the existing chunk-size warning (non-blocking).
- Updated action versions in
- User
It's hard to see where the docker image is pushed to so that you can easily pull it in Docker. Is it possible to add a text output to the workflow show the docker pull line.
- Assistant
Yep — I added it.
- I updated
.github/workflows/docker-release.ymlwith a newPrint pull commandsstep after image publish. - That step now prints both pull commands directly in the logs:
docker pull <image>:<version_tag>docker pull <image>:<sha_tag>
- It also writes the same commands to the Actions run summary via
$GITHUB_STEP_SUMMARY, so they’re easy to copy from the UI. - I kept
plans/plan.mdin sync with a completed entry for this change.
Validation run completed successfully:
npm run lint -- --max-warnings=0npm run buildnpm run test
Changed files:
.github/workflows/docker-release.ymlplans/plan.md
If you want, I can also add a single “preferred pull command” (version tag only) to reduce noise for consumers.
- I updated
- User
Show me an example
- Assistant
Here’s what it will look like in the workflow logs (example values):
Published Docker image tags: - ghcr.io/awanoodle/pr-reviewer-chatbot:v1.0.0-0 - ghcr.io/awanoodle/pr-reviewer-chatbot:sha-6d1d756 Pull commands: docker pull ghcr.io/awanoodle/pr-reviewer-chatbot:v1.0.0-0 docker pull ghcr.io/awanoodle/pr-reviewer-chatbot:sha-6d1d756And in the Actions Summary panel, it will show:
docker pull ghcr.io/awanoodle/pr-reviewer-chatbot:v1.0.0-0 docker pull ghcr.io/awanoodle/pr-reviewer-chatbot:sha-6d1d756 - User
ok
- Assistant
Great — the workflow update is already in place and validated locally.
If you want, next I can:
- Create a commit for these changes.
- Open a PR with a short description.
- User
Create the commit and push the changes
- Assistant
Done — I committed and pushed the changes.
- Commit:
e01932d - Message:
ci(docker): update release actions and print pull commands - Pushed to:
origin/main - Includes:
- Node 24 action upgrades +
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24in.github/workflows/docker-release.yml - New workflow output step that prints copy-paste
docker pullcommands in logs and run summary - Plan updates in
plans/plan.md
- Node 24 action upgrades +
- Commit: