From 65c8e9e24aec4e90a52319956e062ae7640fec34 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Sun, 19 May 2024 00:27:03 +0530 Subject: T6349: updated pr-labels workflow permission (#3485) --- .github/workflows/check-unused-imports.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github/workflows/check-unused-imports.yml') diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml index 468543d6e..aada264f7 100644 --- a/.github/workflows/check-unused-imports.yml +++ b/.github/workflows/check-unused-imports.yml @@ -1,11 +1,15 @@ name: Check for unused imports using Pylint on: - pull_request_target: + pull_request: branches: - current - sagitta + workflow_dispatch: + +permissions: + contents: read jobs: - Check-Unused-Imports: + check-unused-imports: uses: vyos/.github/.github/workflows/check-unused-imports.yml@feature/T6349-reusable-workflows secrets: inherit -- cgit v1.2.3