diff options
-rw-r--r-- | .github/workflows/check-unused-imports.yml | 6 | ||||
-rw-r--r-- | .github/workflows/trigger-pr.yml | 38 |
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 }} |