Skip to content

ci(platform-update-release-automation): cache-candidate: update mensile delle dipendenze (minor e patch) - #57

Draft
alessandrobocci wants to merge 3 commits into
mainfrom
feat/MUF-11830
Draft

alessandrobocci wants to merge 3 commits into
mainfrom
feat/MUF-11830

Conversation

@alessandrobocci

Copy link
Copy Markdown
Contributor

Cosa cambia

  • deps-update.yml: ogni 7 del mese esegue npx npm-check-updates -u --target minor (solo minor e patch, le major restano manuali), poi build e test come smoke check, e apre la PR chore/massive-update-YYYYMM. Se build o test falliscono la PR si apre lo stesso con il fallimento nel corpo e parte un messaggio Slack. Ha workflow_dispatch con dry_run. npm_config_ignore_scripts è attivo.
  • .nvmrc con 22: i workflow nuovi girano su Node 22, non sull'ultimo, perché è una libreria pubblicata su npm e l'update va provato sul Node più vecchio supportato.
  • .github/scripts/: dependency-majors.mjs e notify-slack.mjs, copiati identici dal pilota db-connect.

Differenza dal pilota: la sola riga --target minor. Nessun auto-release (il rilascio resta il release:* a mano, che pubblica su npm) e nessun gate dei changelog.

Contesto

MUF-11830, iniziativa platform-update-release-automation (pilota: JointlyTech/db-connect#11).

Azioni umane dopo il merge

  • Verificare che ORG_GITHUB_TOKEN e SLACK_RELEASE_HOOK_URL siano esposti a questo repo.
  • Lanciare deps-update.yml con dry_run.
  • Confermare che Node 22 sia il minimo supportato.

Note

Workflow non eseguito e non validato con actionlint (non disponibile); la pipeline non è mai girata su questo repo. Il commit è di tipo ci.

🤖 Generated with Claude Code

…le delle dipendenze (minor e patch) [initiative platform-update-release-automation]

MUF-11830

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@snyk-io

snyk-io Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

…og e auto-release [initiative platform-update-release-automation 06]

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
const lastTag = findLastTag(cwd);
const commits = listCommitsSince(lastTag, cwd);
const bump = computeBump(commits);
const packageVersion = JSON.parse(readFileSync(join(cwd, 'package.json'), 'utf8')).version;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potential file inclusion attack via reading file - low severity
If an attacker can control the input leading into the ReadFile function, they might be able to read sensitive files and launch further attacks with that information.

Show fix

Remediation: Ignore this issue only after you've verified or sanitized the input going into this function. This issue is only relevant in the backend, not in the frontend!

Reply @AikidoSec ignore: [REASON] to ignore this issue.
More info

…LINE_HOOK_URL [initiative platform-update-release-automation]

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant