diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-05-22 09:59:30 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 09:59:30 +0530 |
commit | c97f2783959e6b1d0ef338dcd1f00121e692e5fe (patch) | |
tree | 5529f423f3c640efcc510d6d27a09927150ff687 | |
parent | 44597d9abb24b570f13ee9f69991516a9a391953 (diff) | |
parent | 0a23dd70e53313771297d16c272de274bf383afb (diff) | |
download | vyos-workflow-test-temp-c97f2783959e6b1d0ef338dcd1f00121e692e5fe.tar.gz vyos-workflow-test-temp-c97f2783959e6b1d0ef338dcd1f00121e692e5fe.zip |
Merge pull request #1 from vyos/feature/pr-checks
T6357: added triggers
-rw-r--r-- | .github/labeler.yml | 3 | ||||
-rw-r--r-- | .github/workflows/add-pr-labels.yml | 1 | ||||
-rw-r--r-- | .github/workflows/chceck-pr-message.yml | 1 | ||||
-rw-r--r-- | .github/workflows/check-stale.yml | 1 | ||||
-rw-r--r-- | .github/workflows/check-unused-imports.yml | 1 | ||||
-rw-r--r-- | .github/workflows/codeql.yml | 5 | ||||
-rw-r--r-- | .github/workflows/linit-j2.yml | 2 |
7 files changed, 12 insertions, 2 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml index e0b9ee4..0852982 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -10,3 +10,6 @@ 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 1723cce..72dd838 100644 --- a/.github/workflows/add-pr-labels.yml +++ b/.github/workflows/add-pr-labels.yml @@ -4,6 +4,7 @@ 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 e7e4569..733a639 100644 --- a/.github/workflows/chceck-pr-message.yml +++ b/.github/workflows/chceck-pr-message.yml @@ -4,6 +4,7 @@ name: Check pull request message format on: pull_request: branches: + - main - current - crux - equuleus diff --git a/.github/workflows/check-stale.yml b/.github/workflows/check-stale.yml index b5ec533..59d25a1 100644 --- a/.github/workflows/check-stale.yml +++ b/.github/workflows/check-stale.yml @@ -2,6 +2,7 @@ name: "Issue and PR stale management" on: schedule: - cron: "0 0 * * *" + workflow_dispatch: permissions: pull-requests: write diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml index aada264..7ec4099 100644 --- a/.github/workflows/check-unused-imports.yml +++ b/.github/workflows/check-unused-imports.yml @@ -2,6 +2,7 @@ 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 f647278..f493777 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,12 +2,13 @@ name: "Perform CodeQL Analysis" on: push: - branches: [ "current", "sagitta", "equuleus" ] + branches: [ "main", "current", "sagitta", "equuleus" ] pull_request: # The branches below must be a subset of the branches above - branches: [ "current" ] + branches: [ "main", "current" ] schedule: - cron: '22 10 * * 0' + workflow_dispatch: permissions: actions: read diff --git a/.github/workflows/linit-j2.yml b/.github/workflows/linit-j2.yml index 364a65a..7c0f667 100644 --- a/.github/workflows/linit-j2.yml +++ b/.github/workflows/linit-j2.yml @@ -4,9 +4,11 @@ name: J2 Lint on: pull_request: branches: + - main - current - crux - equuleus + workflow_dispatch: permissions: pull-requests: write |