chore(bumpdeps): enable autobumps
ADD
.github/workflows/bump_dependencies.yml
+name: Bump Dependencies
+
+on:
+ repository_dispatch:
+ types: [bump-dependencies]
+
+jobs:
+ bump-dependencies:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: spinnaker/bumpdeps@master
+ with:
+ ref: ${{ github.event.client_payload.ref }}
+ key: clouddriverVersion
+ repositories: front50,halyard
+ env:
+ GITHUB_OAUTH: ${{ secrets.SPINNAKER_GITHUB_TOKEN }}

MODIFY
.github/workflows/release.yml
.github/workflows/release.yml
@@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 11
- - uses: actions/cache@v1.1.2
+ - uses: actions/cache@v1
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
@@ -63,3 +63,11 @@ jobs:
${{ steps.release_info.outputs.CHANGELOG }}
draft: false
prerelease: ${{ steps.release_info.outputs.IS_CANDIDATE }}
+ - name: Pause before dependency bump
+ run: sleep 300
+ - name: Trigger dependency bump workflow
+ uses: peter-evans/repository-dispatch@v1
+ with:
+ token: ${{ secrets.SPINNAKER_GITHUB_TOKEN }}
+ event-type: bump-dependencies
+ client-payload: '{"ref": "${{ github.ref }}"}'

chore(bumpdeps): enable autobumps (#4506)