summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-03 21:22:08 +0200
committerGitHub <noreply@github.com>2024-07-03 21:22:08 +0200
commit2eb80002145bbd4b4d965b14ba401378b45bfc80 (patch)
tree13d40611aa5208460a951add7b85e85b1d698f6c
parentf01423cdf32be5ce5344c00d570c80bdbce6eda9 (diff)
parent239fa2e68cd538a6ac586dcbd5bb168b3ec8b6bb (diff)
downloadvyos-1x-2eb80002145bbd4b4d965b14ba401378b45bfc80.tar.gz
vyos-1x-2eb80002145bbd4b4d965b14ba401378b45bfc80.zip
Merge pull request #3769 from vyos/T6546-add-permission-unused-check
T6546: unused import check permission update
-rw-r--r--.github/workflows/check-unused-imports.yml1
-rw-r--r--python/vyos/utils/strip_config.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml
index 322d4f3a8..17a52d3e4 100644
--- a/.github/workflows/check-unused-imports.yml
+++ b/.github/workflows/check-unused-imports.yml
@@ -9,6 +9,7 @@ on:
workflow_dispatch:
permissions:
+ pull-requests: write
contents: read
jobs:
diff --git a/python/vyos/utils/strip_config.py b/python/vyos/utils/strip_config.py
index 32f076564..7a9c78c9f 100644
--- a/python/vyos/utils/strip_config.py
+++ b/python/vyos/utils/strip_config.py
@@ -20,7 +20,6 @@
# They shouldn't be used as a basis for a strip-private filter
# until we figure out if we can pass the config path information to the filter.
-import sys
import copy
import vyos.configtree