From 883a0f8c2d6c6ee48f70963007495c3a197841b9 Mon Sep 17 00:00:00 2001 From: shaw Date: Sat, 19 Jul 2025 01:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20GitHub=20Actions=20?= =?UTF-8?q?=E6=9D=83=E9=99=90=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 66dc14ea..dc391f7a 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -67,6 +67,9 @@ jobs: needs: build runs-on: ubuntu-latest if: github.event_name != 'pull_request' + permissions: + contents: read + security-events: write steps: - name: Run Trivy vulnerability scanner