mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #669 from vyos/mergify/bp/equuleus/pr-668
T6508: pr workflows updated for branch and target (backport #668)
This commit is contained in:
commit
64aee19ad2
4
.github/workflows/add-pr-labels.yml
vendored
4
.github/workflows/add-pr-labels.yml
vendored
@ -4,9 +4,7 @@ name: Add pull request labels
|
|||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
branches:
|
branches:
|
||||||
- current
|
|
||||||
- equuleus
|
- equuleus
|
||||||
- sagitta
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
@ -14,5 +12,5 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
add-pr-label:
|
add-pr-label:
|
||||||
uses: vyos/.github/.github/workflows/add-pr-labels.yml@feature/T6349-reusable-workflows
|
uses: vyos/.github/.github/workflows/add-pr-labels.yml@equuleus
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
3
.github/workflows/auto-author-assign.yml
vendored
3
.github/workflows/auto-author-assign.yml
vendored
@ -3,12 +3,11 @@ on:
|
|||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, reopened, ready_for_review, locked]
|
types: [opened, reopened, ready_for_review, locked]
|
||||||
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
assign-author:
|
assign-author:
|
||||||
uses: vyos/.github/.github/workflows/assign-author.yml@feature/T6349-reusable-workflows
|
uses: vyos/.github/.github/workflows/assign-author.yml@equuleus
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
6
.github/workflows/chceck-pr-message.yml
vendored
6
.github/workflows/chceck-pr-message.yml
vendored
@ -2,10 +2,8 @@
|
|||||||
name: Check pull request message format
|
name: Check pull request message format
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request_target:
|
||||||
branches:
|
branches:
|
||||||
- current
|
|
||||||
- sagitta
|
|
||||||
- equuleus
|
- equuleus
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -14,5 +12,5 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-pr-title:
|
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@equuleus
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
2
.github/workflows/check-pr-conflicts.yml
vendored
2
.github/workflows/check-pr-conflicts.yml
vendored
@ -10,5 +10,5 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-pr-conflict-call:
|
check-pr-conflict-call:
|
||||||
uses: vyos/.github/.github/workflows/check-pr-merge-conflict.yml@feature/T6349-reusable-workflows
|
uses: vyos/.github/.github/workflows/check-pr-merge-conflict.yml@equuleus
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
2
.github/workflows/check-stale.yml
vendored
2
.github/workflows/check-stale.yml
vendored
@ -10,5 +10,5 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
uses: vyos/.github/.github/workflows/check-stale.yml@feature/T6349-reusable-workflows
|
uses: vyos/.github/.github/workflows/check-stale.yml@equuleus
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
4
.github/workflows/check-unused-imports.yml
vendored
4
.github/workflows/check-unused-imports.yml
vendored
@ -2,8 +2,6 @@ name: Check for unused imports using Pylint
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- current
|
|
||||||
- sagitta
|
|
||||||
- equuleus
|
- equuleus
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -12,5 +10,5 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-unused-imports:
|
check-unused-imports:
|
||||||
uses: vyos/.github/.github/workflows/check-unused-imports.yml@feature/T6349-reusable-workflows
|
uses: vyos/.github/.github/workflows/check-unused-imports.yml@equuleus
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
8
.github/workflows/codeql.yml
vendored
8
.github/workflows/codeql.yml
vendored
@ -2,10 +2,12 @@ name: "Perform CodeQL Analysis"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "current", "sagitta", "equuleus" ]
|
branches:
|
||||||
|
- equuleus
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [ "current" ]
|
branches:
|
||||||
|
- equuleus
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '22 10 * * 0'
|
- cron: '22 10 * * 0'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -17,7 +19,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
codeql-analysis-call:
|
codeql-analysis-call:
|
||||||
uses: vyos/.github/.github/workflows/codeql-analysis.yml@feature/T6349-reusable-workflows
|
uses: vyos/.github/.github/workflows/codeql-analysis.yml@equuleus
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
languages: "['python']"
|
languages: "['python']"
|
||||||
|
|||||||
2
.github/workflows/label-backport.yml
vendored
2
.github/workflows/label-backport.yml
vendored
@ -8,5 +8,5 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
mergifyio-backport:
|
mergifyio-backport:
|
||||||
uses: vyos/.github/.github/workflows/label-backport.yml@feature/T6349-reusable-workflows
|
uses: vyos/.github/.github/workflows/label-backport.yml@equuleus
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
19
.github/workflows/linit-j2.yml
vendored
19
.github/workflows/linit-j2.yml
vendored
@ -1,19 +0,0 @@
|
|||||||
---
|
|
||||||
name: J2 Lint
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- current
|
|
||||||
- sagitta
|
|
||||||
- equuleus
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
j2lint:
|
|
||||||
uses: vyos/.github/.github/workflows/lint-j2.yml@feature/T6349-reusable-workflows
|
|
||||||
secrets: inherit
|
|
||||||
Loading…
x
Reference in New Issue
Block a user