diff options
Diffstat (limited to '.github/workflows')
| -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 |
6 files changed, 21 insertions, 7 deletions
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 }} |
