summaryrefslogtreecommitdiff
path: root/.github/workflows/check-unused-imports.yml
diff options
context:
space:
mode:
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