From 17d022bcfe3c046f224c991d0dc927a38cc853dd Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Mon, 6 Jul 2026 22:28:49 +0300 Subject: [PATCH] chore: Fix workflow name and permissions in labeler.yml Updated workflow name and adjusted permissions. --- .github/workflows/labeler.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 2f38fd5..fdcef89 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,14 +1,15 @@ -name: PR Autolabeler - -permissions: - contents: write - pull-requests: write +name: PR Auto-labeler on: - # pull_request event is required for autolabeler + # pull_request event is required for auto-labeler pull_request: types: [opened, reopened, synchronize] +permissions: {} + jobs: draft-release: + permissions: + pull-requests: write + contents: read uses: commit-check/.github/.github/workflows/pr-labeler.yml@main