From 4148c4ac76bfc0d5e01d42500a728d20789df56a Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Thu, 27 Mar 2025 19:41:11 +0000 Subject: [PATCH 1/2] docs(readme): update plugin version syntax --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e384c3b..675bd40 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ npm i @fastify/request-context ### Compatibility | Plugin version | Fastify version | | ---------------|-----------------| -| `^6.x` | `^5.x` | -| `^4.x` | `^4.x` | -| `^2.x` | `^3.x` | +| `>=6.x` | `^5.x` | +| `>=4.x <6.x` | `^4.x` | +| `>=2.x <4.x` | `^3.x` | | `^1.x` | `^2.x` | | `^1.x` | `^1.x` | From 72532640cc946feee7f4fed4ab22c98d96b048b7 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 30 Mar 2025 21:40:28 +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 6525434..ed7f098 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.yml@v5 with: license-check: true