summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-08-06 13:30:50 +0530
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-08-06 15:56:18 +0000
commit9553a9dfab53ea574cd8ae1184558a5c39f65b33 (patch)
tree0ac5582e4ea9c6f6f2de47912d460b33263f931f /.github/workflows
parent260f6d9365b4e40084fa28ba43dd5e35c4288640 (diff)
downloadvyos-1x-9553a9dfab53ea574cd8ae1184558a5c39f65b33.tar.gz
vyos-1x-9553a9dfab53ea574cd8ae1184558a5c39f65b33.zip
T6637: py files filter added for unused import checkmergify/bp/circinus/pr-3949
(cherry picked from commit b67786df8067deb34f66e8a5c2bba66745b8445e) # Conflicts: # .github/workflows/check-unused-imports.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check-unused-imports.yml6
-rw-r--r--.github/workflows/trigger-pr.yml38
2 files changed, 24 insertions, 20 deletions
diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml
index e1f4df11d..b536e138e 100644
--- a/.github/workflows/check-unused-imports.yml
+++ b/.github/workflows/check-unused-imports.yml
@@ -1,13 +1,17 @@
name: Check for unused imports using Pylint
on:
- pull_request_target:
+ pull_request:
branches:
+<<<<<<< HEAD
- circinus
paths:
- '**'
- '!.github/**'
- '!**/*.md'
workflow_dispatch:
+=======
+ - current
+>>>>>>> b67786df8 (T6637: py files filter added for unused import check)
permissions:
pull-requests: write
diff --git a/.github/workflows/trigger-pr.yml b/.github/workflows/trigger-pr.yml
index 6461d179f..f88458a81 100644
--- a/.github/workflows/trigger-pr.yml
+++ b/.github/workflows/trigger-pr.yml
@@ -1,19 +1,19 @@
-name: Trigger PR
-
-on:
- pull_request_target:
- types:
- - closed
- branches:
- - circinus
-
-jobs:
- trigger-PR:
- uses: vyos/.github/.github/workflows/trigger-pr.yml@current
- with:
- source_branch: 'circinus'
- target_branch: 'circinus'
- secrets:
- REMOTE_REPO: ${{ secrets.REMOTE_REPO }}
- REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }}
- PAT: ${{ secrets.PAT }}
+name: Trigger PR
+
+on:
+ pull_request_target:
+ types:
+ - closed
+ branches:
+ - circinus
+
+jobs:
+ trigger-PR:
+ uses: vyos/.github/.github/workflows/trigger-pr.yml@current
+ with:
+ source_branch: 'circinus'
+ target_branch: 'circinus'
+ secrets:
+ REMOTE_REPO: ${{ secrets.REMOTE_REPO }}
+ REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }}
+ PAT: ${{ secrets.PAT }}