summaryrefslogtreecommitdiff
path: root/.github/workflows/check-unused-imports.yml
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-05-19 00:27:03 +0530
committerGitHub <noreply@github.com>2024-05-18 20:57:03 +0200
commit65c8e9e24aec4e90a52319956e062ae7640fec34 (patch)
tree9157234b89340ed0342380a9a63e07c8ee18701c /.github/workflows/check-unused-imports.yml
parent9a5897682a6d7fb59e2e90eb50b87dbbe8babaea (diff)
downloadvyos-1x-65c8e9e24aec4e90a52319956e062ae7640fec34.tar.gz
vyos-1x-65c8e9e24aec4e90a52319956e062ae7640fec34.zip
T6349: updated pr-labels workflow permission (#3485)
Diffstat (limited to '.github/workflows/check-unused-imports.yml')
-rw-r--r--.github/workflows/check-unused-imports.yml8
1 files changed, 6 insertions, 2 deletions
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