diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/check-open-prs-conflict.yml | 17 | ||||
-rw-r--r-- | .github/workflows/cla-check.yml | 19 | ||||
-rw-r--r-- | .github/workflows/mirror-pr-and-sync.yml | 5 | ||||
-rw-r--r-- | .github/workflows/trigger-pr-mirror-repo-sync.yml | 5 | ||||
-rw-r--r-- | .github/workflows/trigger_rebuild_packages.yml | 22 |
5 files changed, 63 insertions, 5 deletions
diff --git a/.github/workflows/check-open-prs-conflict.yml b/.github/workflows/check-open-prs-conflict.yml new file mode 100644 index 00000000..52b11938 --- /dev/null +++ b/.github/workflows/check-open-prs-conflict.yml @@ -0,0 +1,17 @@ +name: "Open PRs Conflicts checker" +on: + push: + branches: + - current + - sagitta + - circinus + workflow_dispatch: + +permissions: + contents: read + pull-requests: write + +jobs: + check-pr-conflict-call: + uses: vyos/.github/.github/workflows/check-open-prs-conflict.yml@current + secrets: inherit diff --git a/.github/workflows/cla-check.yml b/.github/workflows/cla-check.yml new file mode 100644 index 00000000..3c1aeee6 --- /dev/null +++ b/.github/workflows/cla-check.yml @@ -0,0 +1,19 @@ +name: "CLA Check" + +permissions: + actions: write + contents: read + pull-requests: write + statuses: write + +on: + pull_request: + types: [opened, synchronize, closed] + issue_comment: + types: [created] + +jobs: + call-cla-assistant: + uses: vyos/vyos-cla-signatures/.github/workflows/cla-reusable.yml@current + secrets: + CLA_PAT: ${{ secrets.CLA_PAT }} diff --git a/.github/workflows/mirror-pr-and-sync.yml b/.github/workflows/mirror-pr-and-sync.yml index 48a67a43..120e116d 100644 --- a/.github/workflows/mirror-pr-and-sync.yml +++ b/.github/workflows/mirror-pr-and-sync.yml @@ -2,10 +2,6 @@ name: Create Mirror PR and Repo Sync on: workflow_dispatch: inputs: - pr_number: - description: 'Source repo PR Number' - required: true - type: string sync_branch: description: 'branch to sync' required: true @@ -20,7 +16,6 @@ jobs: if: github.repository_owner != 'vyos' uses: VyOS-Networks/vyos-reusable-workflows/.github/workflows/mirror-pr-and-sync.yml@main with: - pr_number: ${{ inputs.pr_number }} sync_branch: ${{ inputs.sync_branch }} secrets: PAT: ${{ secrets.PAT }} diff --git a/.github/workflows/trigger-pr-mirror-repo-sync.yml b/.github/workflows/trigger-pr-mirror-repo-sync.yml index f7489598..7b4a241f 100644 --- a/.github/workflows/trigger-pr-mirror-repo-sync.yml +++ b/.github/workflows/trigger-pr-mirror-repo-sync.yml @@ -5,6 +5,11 @@ on: - closed branches: - current + +permissions: + pull-requests: write + contents: write + issues: write jobs: call-trigger-mirror-pr-repo-sync: diff --git a/.github/workflows/trigger_rebuild_packages.yml b/.github/workflows/trigger_rebuild_packages.yml index 7cfee337..4eb740f3 100644 --- a/.github/workflows/trigger_rebuild_packages.yml +++ b/.github/workflows/trigger_rebuild_packages.yml @@ -31,6 +31,8 @@ jobs: - 'scripts/package-build/aws-gwlbtun/**' blackbox_exporter: - 'scripts/package-build/blackbox_exporter/**' + bash-completion: + - 'scripts/package-build/bash-completion/**' ddclient: - 'scripts/package-build/ddclient/**' dropbear: @@ -51,6 +53,8 @@ jobs: - 'scripts/package-build/kea/**' keepalived: - 'scripts/package-build/keepalived/**' + libnss-mapuser: + - 'scripts/package-build/libnss-mapuser/**' libpam-radius-auth: - 'scripts/package-build/libpam-radius-auth/**' linux-kernel: @@ -84,6 +88,8 @@ jobs: - 'scripts/package-build/tacacs/**' telegraf: - 'scripts/package-build/telegraf/**' + udp-broadcast-relay: + - 'scripts/package-build/udp-broadcast-relay/**' vpp: - 'scripts/package-build/vpp/**' waagent: @@ -121,6 +127,14 @@ jobs: trigger_build "aws-gwlbtun" fi + if [ "${{ steps.changes.outputs.bash-completion }}" == "true" ]; then + trigger_build "bash-completion" + fi + + if [ "${{ steps.changes.outputs.blackbox_exporter }}" == "true" ]; then + trigger_build "blackbox_exporter" + fi + if [ "${{ steps.changes.outputs.ddclient }}" == "true" ]; then trigger_build "ddclient" fi @@ -161,6 +175,10 @@ jobs: trigger_build "keepalived" fi + if [ "${{ steps.changes.outputs.libnss-mapuser }}" == "true" ]; then + trigger_build "libnss-mapuser" + fi + if [ "${{ steps.changes.outputs.libpam-radius-auth }}" == "true" ]; then trigger_build "libpam-radius-auth" fi @@ -225,6 +243,10 @@ jobs: trigger_build "telegraf" fi + if [ "${{ steps.changes.outputs.udp-broadcast-relay }}" == "true" ]; then + trigger_build "udp-broadcast-relay" + fi + if [ "${{ steps.changes.outputs.vpp }}" == "true" ]; then trigger_build "vpp" fi |