Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Atualizações automáticas de dependências. Uma vez por mês, no máximo um
# PR para as dependências npm e um para as actions da CI. Os PRs seguem o
# fluxo normal: CI e merge manual.
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: monthly
groups:
dependencias-npm:
patterns: ["*"]
ignore:
# A versão major do embedded-postgres acompanha a do Postgres (16.x
# roda o PostgreSQL 16). A validação local precisa ficar na mesma
# versão do postgres:16 do docker-compose.yml, então trocar de
# versão do Postgres é decisão manual, nos dois lugares ao mesmo
# tempo. Atualizações dentro da linha 16 continuam permitidas.
- dependency-name: embedded-postgres
update-types: ["version-update:semver-major"]

- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
groups:
actions:
patterns: ["*"]
2 changes: 2 additions & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ On every push to `main` and on every pull request, GitHub Actions runs two jobs

The result of each check shows up as a table in the run summary, in the **Actions** tab on GitHub, with no need to open the logs.

Dependencies are kept up to date by **Dependabot** ([`.github/dependabot.yml`](.github/dependabot.yml)): once a month, it opens at most one PR for the npm dependencies and one for the CI actions, and both go through the same CI. Major versions of `embedded-postgres` are excluded, because they set the Postgres version of the local validation, which must stay the same as the one used with Docker.

---

## The 5 investigated defects
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ A cada push na `main` e a cada pull request, o GitHub Actions roda dois jobs em

O resultado de cada conferência aparece numa tabela no resumo da execução, na aba **Actions** do GitHub, sem precisar abrir os logs.

As dependências são mantidas pelo **Dependabot** ([`.github/dependabot.yml`](.github/dependabot.yml)): uma vez por mês, ele abre no máximo um PR para as dependências npm e um para as actions da CI, que passam pela mesma CI. A versão major do `embedded-postgres` fica de fora, porque ela define a versão do Postgres da validação local, que precisa continuar igual à do Docker.

---

## Os 5 defeitos investigados
Expand Down
Loading