From 13cf8cac932b4694d9069cf7985f6542fab2a6b6 Mon Sep 17 00:00:00 2001 From: kumvijaya Date: Wed, 22 May 2024 10:07:27 +0530 Subject: T6357: added trigger as pr for pr labels --- .github/labeler.yml | 15 --------------- .github/workflows/add-pr-labels.yml | 1 - .github/workflows/chceck-pr-message.yml | 1 - .github/workflows/check-unused-imports.yml | 1 - .github/workflows/codeql.yml | 4 ++-- .github/workflows/linit-j2.yml | 1 - 6 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 .github/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index 0852982..0000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,15 +0,0 @@ -equuleus: - - any: - - base-branch: 'equuleus' -current: - - any: - - base-branch: 'current' -crux: - - any: - - base-branch: 'crux' -sagitta: - - any: - - base-branch: 'sagitta' -main: - - any: - - base-branch: 'main' diff --git a/.github/workflows/add-pr-labels.yml b/.github/workflows/add-pr-labels.yml index 72dd838..1723cce 100644 --- a/.github/workflows/add-pr-labels.yml +++ b/.github/workflows/add-pr-labels.yml @@ -4,7 +4,6 @@ name: Add pull request labels on: pull_request_target: branches: - - main - current - crux - equuleus diff --git a/.github/workflows/chceck-pr-message.yml b/.github/workflows/chceck-pr-message.yml index 733a639..e7e4569 100644 --- a/.github/workflows/chceck-pr-message.yml +++ b/.github/workflows/chceck-pr-message.yml @@ -4,7 +4,6 @@ name: Check pull request message format on: pull_request: branches: - - main - current - crux - equuleus diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml index 7ec4099..aada264 100644 --- a/.github/workflows/check-unused-imports.yml +++ b/.github/workflows/check-unused-imports.yml @@ -2,7 +2,6 @@ name: Check for unused imports using Pylint on: pull_request: branches: - - main - current - sagitta workflow_dispatch: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f493777..a4fc39e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,10 +2,10 @@ name: "Perform CodeQL Analysis" on: push: - branches: [ "main", "current", "sagitta", "equuleus" ] + branches: [ "current", "sagitta", "equuleus" ] pull_request: # The branches below must be a subset of the branches above - branches: [ "main", "current" ] + branches: [ "current" ] schedule: - cron: '22 10 * * 0' workflow_dispatch: diff --git a/.github/workflows/linit-j2.yml b/.github/workflows/linit-j2.yml index 7c0f667..c4f4132 100644 --- a/.github/workflows/linit-j2.yml +++ b/.github/workflows/linit-j2.yml @@ -4,7 +4,6 @@ name: J2 Lint on: pull_request: branches: - - main - current - crux - equuleus -- cgit v1.2.3 From ce727773a5417d1ee415122e45f751710290e8f9 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 24 May 2024 11:41:49 +0530 Subject: T6392: backport test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 080592b..d206510 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # vyos-workflow-test-temp: Validates the common github workflows -## Package layout for validation +## Package layout for validation and tests. ``` data # Jinja2 templates -- cgit v1.2.3 From 5f3388570e4ab4767c64d6bd7f0225518d7edb40 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 24 May 2024 12:23:14 +0530 Subject: T6392: backport test for sagitta --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d206510..af1972b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# vyos-workflow-test-temp: Validates the common github workflows +# vyos-workflow-test-temp: Validates the common reusable github workflows ## Package layout for validation and tests. -- cgit v1.2.3 From 200aa8d231fce8fbb8017398d3fbb070af20edcb Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 24 May 2024 13:29:23 +0530 Subject: T6392: backport action check --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af1972b..75c94ea 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# vyos-workflow-test-temp: Validates the common reusable github workflows +# vyos-workflow-test-temp: Validates the common reusable github action workflows + ## Package layout for validation and tests. -- cgit v1.2.3 From e493a60999354ad93e6e18792192125b0c5e7a9f Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 24 May 2024 13:39:09 +0530 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75c94ea..d33878f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# vyos-workflow-test-temp: Validates the common reusable github action workflows +# Validates the common reusable github action workflows ## Package layout for validation and tests. -- cgit v1.2.3 From b9b4b73f9a90a7f8ea7981191518e1ce1564b1c3 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 00:15:32 +0530 Subject: T6415: repo sync check --- .github/repo-sync | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/repo-sync diff --git a/.github/repo-sync b/.github/repo-sync new file mode 100644 index 0000000..a2bf54f --- /dev/null +++ b/.github/repo-sync @@ -0,0 +1,17 @@ +name: Repo-sync + +on: + pull_request: + types: + - closed + branches: + - current + workflow_dispatch: + +jobs: + trigger-sync: + uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows + secrets: + REMOTE_REPO: ${{ secrets.REMOTE_REPO }} + REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} + PAT: ${{ secrets.PAT }} -- cgit v1.2.3 From 57403a4ade3407c3faf5105ef8e643d33f8d4214 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 00:20:22 +0530 Subject: T6415: repo sync check --- .github/workflows/repo-sync | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/repo-sync diff --git a/.github/workflows/repo-sync b/.github/workflows/repo-sync new file mode 100644 index 0000000..a2bf54f --- /dev/null +++ b/.github/workflows/repo-sync @@ -0,0 +1,17 @@ +name: Repo-sync + +on: + pull_request: + types: + - closed + branches: + - current + workflow_dispatch: + +jobs: + trigger-sync: + uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows + secrets: + REMOTE_REPO: ${{ secrets.REMOTE_REPO }} + REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} + PAT: ${{ secrets.PAT }} -- cgit v1.2.3 From 4043228dc46739cac4c4762d5b1bfd430d45b1bf Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 00:21:38 +0530 Subject: T6415: repo sync check --- .github/repo-sync | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .github/repo-sync diff --git a/.github/repo-sync b/.github/repo-sync deleted file mode 100644 index a2bf54f..0000000 --- a/.github/repo-sync +++ /dev/null @@ -1,17 +0,0 @@ -name: Repo-sync - -on: - pull_request: - types: - - closed - branches: - - current - workflow_dispatch: - -jobs: - trigger-sync: - uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows - secrets: - REMOTE_REPO: ${{ secrets.REMOTE_REPO }} - REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} - PAT: ${{ secrets.PAT }} -- cgit v1.2.3 From 43ab3f31d3f06e31e59df6e8c1d4779478af767e Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 00:22:04 +0530 Subject: T6415: repo sync check --- .github/workflows/repo-sync | 17 ----------------- .github/workflows/repo-sync.yml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 .github/workflows/repo-sync create mode 100644 .github/workflows/repo-sync.yml diff --git a/.github/workflows/repo-sync b/.github/workflows/repo-sync deleted file mode 100644 index a2bf54f..0000000 --- a/.github/workflows/repo-sync +++ /dev/null @@ -1,17 +0,0 @@ -name: Repo-sync - -on: - pull_request: - types: - - closed - branches: - - current - workflow_dispatch: - -jobs: - trigger-sync: - uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows - secrets: - REMOTE_REPO: ${{ secrets.REMOTE_REPO }} - REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} - PAT: ${{ secrets.PAT }} diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml new file mode 100644 index 0000000..a2bf54f --- /dev/null +++ b/.github/workflows/repo-sync.yml @@ -0,0 +1,17 @@ +name: Repo-sync + +on: + pull_request: + types: + - closed + branches: + - current + workflow_dispatch: + +jobs: + trigger-sync: + uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows + secrets: + REMOTE_REPO: ${{ secrets.REMOTE_REPO }} + REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} + PAT: ${{ secrets.PAT }} -- cgit v1.2.3 From d8da85a2c9a2e0dc157a4972c862efe4e9fe1879 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 00:23:19 +0530 Subject: T6415: repo sync check --- .github/workflows/repo-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index a2bf54f..b768ec8 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -11,7 +11,7 @@ on: jobs: trigger-sync: uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows - secrets: + with: REMOTE_REPO: ${{ secrets.REMOTE_REPO }} REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} PAT: ${{ secrets.PAT }} -- cgit v1.2.3 From 8a36dc5bd767de2e91c9053648dc5820f9e34666 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 00:27:54 +0530 Subject: T6415: repo sync check --- .github/workflows/repo-sync.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index b768ec8..311bae9 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -10,8 +10,15 @@ on: jobs: trigger-sync: - uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows - with: + runs-on: ubuntu-latest + env: REMOTE_REPO: ${{ secrets.REMOTE_REPO }} REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} PAT: ${{ secrets.PAT }} + steps: + - name: Trigger reusable workflow + uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows + with: + REMOTE_REPO: ${{ env.REMOTE_REPO }} + REMOTE_OWNER: ${{ env.REMOTE_OWNER }} + PAT: ${{ env.PAT }} -- cgit v1.2.3 From 950f3b5188ba2b87c71b06e282c1037e08066c26 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 00:41:51 +0530 Subject: T6415: repo sync check --- .github/workflows/repo-sync.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 311bae9..a2bf54f 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -10,15 +10,8 @@ on: jobs: trigger-sync: - runs-on: ubuntu-latest - env: + uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows + secrets: REMOTE_REPO: ${{ secrets.REMOTE_REPO }} REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} PAT: ${{ secrets.PAT }} - steps: - - name: Trigger reusable workflow - uses: vyos/.github/.github/workflows/trigger-repo-sync.yml@feature/T6349-reusable-workflows - with: - REMOTE_REPO: ${{ env.REMOTE_REPO }} - REMOTE_OWNER: ${{ env.REMOTE_OWNER }} - PAT: ${{ env.PAT }} -- cgit v1.2.3 From 9f4d2d7bc1c8ecf42192d08397f7972c0fb171a3 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 16:02:02 +0530 Subject: T6415: repo sync check --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d33878f..3832c74 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Validates the common reusable github action workflows -## Package layout for validation and tests. +## Package layout for validation. ``` data # Jinja2 templates -- cgit v1.2.3 From 07637e5169152bd030066ef26654204e39767139 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 16:05:30 +0530 Subject: T6415: repo sync --- .github/workflows/repo-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index a2bf54f..c5fb145 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -5,7 +5,7 @@ on: types: - closed branches: - - current + - T6415-secret-check workflow_dispatch: jobs: -- cgit v1.2.3 From 0774e56ebcaa30bc5afd049e14b66652e9300d4c Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 16:08:34 +0530 Subject: T6415: repo sync check --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3832c74..5bed5ef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Validates the common reusable github action workflows -## Package layout for validation. +## Package validations ``` data # Jinja2 templates -- cgit v1.2.3 From 5dfd8621451ed3cc23941615c6a247fb6940997d Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 16:10:21 +0530 Subject: T6415: repo sync check --- .github/workflows/repo-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index c5fb145..2159c7e 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -1,7 +1,7 @@ name: Repo-sync on: - pull_request: + pull_request_target: types: - closed branches: -- cgit v1.2.3 From b09415823b3c0ee3f7a9965056674cb86d145740 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Fri, 31 May 2024 16:12:01 +0530 Subject: T6415: repo sync check --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bed5ef..22a4dd3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Validates the common reusable github action workflows -## Package validations +## Workflow validations ``` data # Jinja2 templates -- cgit v1.2.3 From 05d36db9accb91e733ef5314398c75718a666823 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:26:44 +0530 Subject: T6449: pr title check --- .github/workflows/chceck-pr-message.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chceck-pr-message.yml b/.github/workflows/chceck-pr-message.yml index e7e4569..226a77d 100644 --- a/.github/workflows/chceck-pr-message.yml +++ b/.github/workflows/chceck-pr-message.yml @@ -14,5 +14,5 @@ permissions: jobs: check-pr-title: - uses: vyos/.github/.github/workflows/check-pr-message.yml@feature/T6349-reusable-workflows + uses: vyos/.github/.github/workflows/check-pr-message.yml@feature/T6449-add-pr-title-issue-comment secrets: inherit -- cgit v1.2.3 From 6ffcd59b85ac4060bc3b4abc060d591309204dac Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:30:26 +0530 Subject: T6449: check-pr-message.yml update --- .github/workflows/chceck-pr-message.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/chceck-pr-message.yml b/.github/workflows/chceck-pr-message.yml index 226a77d..9d433ed 100644 --- a/.github/workflows/chceck-pr-message.yml +++ b/.github/workflows/chceck-pr-message.yml @@ -7,6 +7,7 @@ on: - current - crux - equuleus + types: [opened, synchronize, edited] permissions: pull-requests: write -- cgit v1.2.3