Various CI/CD improvements
* Add `concurrency` for `ci-snapshot.yml` to avoid unnecessary queued builds * Add `schedule` for `ci-snapshot.yml` to run build fresh snapshots every night * Fix job name for `verify-staged-artifacts.yml` since we are not verifying against samples * Remove `maven` config for Dependabot. Looks like it does not look into sub-directories, so its config is not very convenient for our different samples
This commit is contained in:
10
.github/workflows/ci-snapshot.yml
vendored
10
.github/workflows/ci-snapshot.yml
vendored
@@ -2,14 +2,24 @@ name: CI SNAPSHOT
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- '*.x'
|
||||
|
||||
schedule:
|
||||
- cron: '0 5 * * *'
|
||||
|
||||
concurrency:
|
||||
group: group-snapshot-for-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-snapshot:
|
||||
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@v1
|
||||
with:
|
||||
gradleTasks: ${{ github.event_name == 'schedule' && '--rerun-tasks' || '' }}
|
||||
secrets:
|
||||
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
|
||||
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
|
||||
|
||||
@@ -9,11 +9,11 @@ on:
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
verify-staged-with-samples:
|
||||
verify-staged-with-spring-integration:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout Samples Repo
|
||||
- name: Checkout Spring Integration Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: spring-projects/spring-integration
|
||||
|
||||
Reference in New Issue
Block a user