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:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- current
|
||||
- equuleus
|
||||
- sagitta
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
@ -14,5 +12,5 @@ permissions:
|
||||
|
||||
jobs:
|
||||
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
|
||||
|
||||
3
.github/workflows/auto-author-assign.yml
vendored
3
.github/workflows/auto-author-assign.yml
vendored
@ -3,12 +3,11 @@ on:
|
||||
pull_request_target:
|
||||
types: [opened, reopened, ready_for_review, locked]
|
||||
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- current
|
||||
- sagitta
|
||||
- equuleus
|
||||
|
||||
permissions:
|
||||
@ -14,5 +12,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@equuleus
|
||||
secrets: inherit
|
||||
|
||||
2
.github/workflows/check-pr-conflicts.yml
vendored
2
.github/workflows/check-pr-conflicts.yml
vendored
@ -10,5 +10,5 @@ permissions:
|
||||
|
||||
jobs:
|
||||
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
|
||||
|
||||
2
.github/workflows/check-stale.yml
vendored
2
.github/workflows/check-stale.yml
vendored
@ -10,5 +10,5 @@ permissions:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
uses: vyos/.github/.github/workflows/check-stale.yml@feature/T6349-reusable-workflows
|
||||
uses: vyos/.github/.github/workflows/check-stale.yml@equuleus
|
||||
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:
|
||||
pull_request:
|
||||
branches:
|
||||
- current
|
||||
- sagitta
|
||||
- equuleus
|
||||
workflow_dispatch:
|
||||
|
||||
@ -12,5 +10,5 @@ permissions:
|
||||
|
||||
jobs:
|
||||
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
|
||||
|
||||
8
.github/workflows/codeql.yml
vendored
8
.github/workflows/codeql.yml
vendored
@ -2,10 +2,12 @@ name: "Perform CodeQL Analysis"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "current", "sagitta", "equuleus" ]
|
||||
branches:
|
||||
- equuleus
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ "current" ]
|
||||
branches:
|
||||
- equuleus
|
||||
schedule:
|
||||
- cron: '22 10 * * 0'
|
||||
workflow_dispatch:
|
||||
@ -17,7 +19,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
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
|
||||
with:
|
||||
languages: "['python']"
|
||||
|
||||
2
.github/workflows/label-backport.yml
vendored
2
.github/workflows/label-backport.yml
vendored
@ -8,5 +8,5 @@ permissions:
|
||||
|
||||
jobs:
|
||||
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
|
||||
|
||||
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