From cfa99988f17fcb9c16a507879c192d729319a25e Mon Sep 17 00:00:00 2001 From: hugoalh <32359235+hugoalh@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:37:10 +0800 Subject: [PATCH] Update workflow --- .github/workflows/announce-new-release-discord.yml | 1 + .github/workflows/sync-labels.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/announce-new-release-discord.yml b/.github/workflows/announce-new-release-discord.yml index 0c11856..91e7d4e 100644 --- a/.github/workflows/announce-new-release-discord.yml +++ b/.github/workflows/announce-new-release-discord.yml @@ -4,6 +4,7 @@ on: release: types: - "published" +permissions: {} jobs: main: name: "Main" diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 9fed0bf..f81f1b7 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -8,6 +8,7 @@ on: - ".github/labels.yml" workflow_dispatch: permissions: + contents: "read" issues: "write" pull-requests: "write" jobs: