From 89cf4dcf495381c31882a809b1c547b3cfddd97c Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Thu, 27 Mar 2025 19:40:26 +0000 Subject: [PATCH 1/2] docs(readme): update plugin version syntax --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 91097d9..d96ce68 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,11 @@ npm i pg @fastify/postgres ### Compatibility | Plugin version | Fastify version | | ---------------|-----------------| -| `^6.x` | `^5.x` | +| `>=6.x` | `^5.x` | | `^5.x` | `^4.x` | -| `^3.x` | `^3.x` | -| `^1.x` | `^2.x` | -| `^1.x` | `^1.x` | +| `>=3.x <5.x` | `^3.x` | +| `>=1.x <3.x` | `^2.x` | +| `>=1.x <3.x` | `^1.x` | Please note that if a Fastify version is out of support, then so are the corresponding versions of this plugin From 8f355b407b7ca035fbf1499453109ff4a9274428 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 30 Mar 2025 21:39:19 +0100 Subject: [PATCH 2/2] ci: set permissions at workflow level --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b9839d..74fad4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,11 @@ on: - 'docs/**' - '*.md' +permissions: + contents: read + jobs: test: - permissions: - contents: write - pull-requests: write uses: fastify/workflows/.github/workflows/plugins-ci-postgres.yml@v5 with: license-check: true