diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-06-06 14:35:08 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 14:35:08 +0530 |
commit | c9aed2e731a9f46fb79913a8f8ba970daf58f3fa (patch) | |
tree | b7b15c5e538c8f296258a5961e3f65c01414ee6d | |
parent | c97f2783959e6b1d0ef338dcd1f00121e692e5fe (diff) | |
parent | 6ffcd59b85ac4060bc3b4abc060d591309204dac (diff) | |
download | vyos-workflow-test-temp-c9aed2e731a9f46fb79913a8f8ba970daf58f3fa.tar.gz vyos-workflow-test-temp-c9aed2e731a9f46fb79913a8f8ba970daf58f3fa.zip |
Merge pull request #16 from vyos/T6449-title-issue
T6449 title issue
-rw-r--r-- | .github/labeler.yml | 15 | ||||
-rw-r--r-- | .github/workflows/add-pr-labels.yml | 1 | ||||
-rw-r--r-- | .github/workflows/chceck-pr-message.yml | 4 | ||||
-rw-r--r-- | .github/workflows/check-unused-imports.yml | 1 | ||||
-rw-r--r-- | .github/workflows/codeql.yml | 4 | ||||
-rw-r--r-- | .github/workflows/linit-j2.yml | 1 | ||||
-rw-r--r-- | .github/workflows/repo-sync.yml | 17 | ||||
-rw-r--r-- | README.md | 5 |
8 files changed, 24 insertions, 24 deletions
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..9d433ed 100644 --- a/.github/workflows/chceck-pr-message.yml +++ b/.github/workflows/chceck-pr-message.yml @@ -4,10 +4,10 @@ name: Check pull request message format on: pull_request: branches: - - main - current - crux - equuleus + types: [opened, synchronize, edited] permissions: pull-requests: write @@ -15,5 +15,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 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 diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml new file mode 100644 index 0000000..2159c7e --- /dev/null +++ b/.github/workflows/repo-sync.yml @@ -0,0 +1,17 @@ +name: Repo-sync + +on: + pull_request_target: + types: + - closed + branches: + - T6415-secret-check + 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 }} @@ -1,6 +1,7 @@ -# vyos-workflow-test-temp: Validates the common github workflows +# Validates the common reusable github action workflows -## Package layout for validation + +## Workflow validations ``` data # Jinja2 templates |