Skip to content

Add Dependabot entries for 5.0.x #528

Add Dependabot entries for 5.0.x

Add Dependabot entries for 5.0.x #528

Workflow file for this run

name: Spring Cloud Kubernetes CI Job
on:
push:
branches: [ main, 3.2.x, 3.3.x ]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
branches:
description: "Which branch should be built (single branch or comma-separated list)"
required: false
default: 'main'
type: string
permissions:
actions: write # Required to trigger workflows
contents: read
jobs:
determine-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.determine.outputs.matrix }}
branches: ${{ steps.determine.outputs.branches }}
non-default-branches: ${{ steps.determine.outputs.non-default-branches }}
steps:
- name: Determine build matrix
id: determine
uses: spring-cloud/spring-cloud-github-actions/.github/actions/determine-matrix@b6a6b1963b8762420526591c3d363bd7d09e7d4b # v1.1.1
with:
repository: ${{ github.repository }}
event-name: ${{ github.event_name }}
ref-name: ${{ github.ref_name }}
branches: ${{ inputs.branches }}
trigger-branch-ci:
name: Trigger CI for non-default branches
needs: determine-matrix
if: ${{ github.event_name == 'schedule' }}
runs-on: ubuntu-latest
steps:
- name: Dispatch CI for non-default branches
uses: spring-cloud/spring-cloud-github-actions/.github/actions/trigger-branch-ci@b6a6b1963b8762420526591c3d363bd7d09e7d4b # v1.1.1
with:
non-default-branches: ${{ needs.determine-matrix.outputs.non-default-branches }}
repository: ${{ github.repository }}
token: ${{ github.token }}
build-and-test:
name: ${{ matrix.branch }} / JDK ${{ matrix.java-version }}
needs: determine-matrix
strategy:
fail-fast: false
matrix:
include: ${{ fromJSON(needs.determine-matrix.outputs.matrix) }}
uses: ./.github/workflows/maven.yaml
with:
branch: ${{ matrix.branch }}
jdk-version: ${{ matrix.java-version }}
should-deploy: ${{ matrix.java-version == '17' }}
secrets: inherit