Repository navigation
Chore/dependabot - #32
Closed
AsierZunzu wants to merge 9 commits into
Closed
AsierZunzu wants to merge 9 commits into
AsierZunzu wants to merge 9 commits into
Conversation
Every Saturday at 06:00 UTC (and on demand), fetch gulian/rewatch@master and, when it has commits we don't, open a PR into our master. Nothing is pushed to master directly, so deploy.yml and docker.yml stay gated behind a human merge. The sync branch is upstream's tip verbatim rather than a merge built in CI, so GitHub computes the merge itself and conflicts surface as a normal conflicted PR. The workflow only dry-run merges to detect conflicts up front and flag them in the PR body. When a sync PR from a previous week is still open, the branch is force- pushed forward and the PR refreshed, so there is only ever one sync PR and it always reflects upstream's current tip. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
`gh` resolves the base repo to the parent when run inside a fork, so `gh pr create` was trying to open the sync PR on gulian/rewatch, where GITHUB_TOKEN has no write access -- surfacing as "Resource not accessible by integration". `gh pr list` was querying upstream too, so an existing sync PR would never be found. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
server.ts fell back to 3010 and the Vite dev proxy pointed at 3010, while the Dockerfile, EXPOSE, the compose mapping, .env.example and every README instruction used 3020. The two were internally consistent — 3010 was the from-source dev pairing — but running the backend from source with no .env and then following the README led to a dead port. 3020 everywhere, since that is the number already published to users. The Vite proxy moves with the fallback; leaving it would have broken `npm run dev` for anyone without PORT set. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Dependabot covers both npm projects, the Actions, the Dockerfile base image and the compose images, weekly on Saturday. Packages that must move together (prisma, fastify, react, tailwind, workbox) are grouped; Node and Postgres majors are left for manual upgrades. The new build workflow runs the backend and frontend builds and an amd64 image build (no push) on every PR, so Dependabot bumps are checked before merging. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/dependabot.yml): weekly on Saturday 10:00 Europe/Madrid/backendand/frontend, with a 5-day cooldown. Packages that must move together are grouped:prisma(majors included),fastify,react,tailwindandworkbox-*. Other minor/patch bumps go into one PR per project..github/workflows/build.yml): runs on every pull request.backend:npm ci,prisma generate,tscon Node 22frontend:npm ci,npm run builddocker: builds the image for amd64 only and doesn't push itTest plan
masterdockerjob)backend,frontendanddockeras required checks onmasterso a failing build blocks merging