-
Notifications
You must be signed in to change notification settings - Fork 172
33 lines (31 loc) · 1.2 KB
/
bump_dependencies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Bump Dependencies
on:
repository_dispatch:
types: [bump-dependencies]
jobs:
bump-dependencies:
if: startsWith(github.repository, 'spinnaker/')
runs-on: ubuntu-latest
steps:
# Halyard releases are separate from Spinnaker releases so we need to
# exclude Halyard from bump deps when targeting services release-* branches.
- name: decide bumpdep target repositories
id: bumpdep_targets
run: |
REPOS=clouddriver,echo,fiat,front50,gate,igor,keel,orca,rosco,swabbie
if [ "${{ github.event.client_payload.branch }}" == " origin/master" ]; then
echo "on master branch, include halyard in bumpdeps target list"
REPOS+=",halyard"
fi
echo REPOS=$(echo -e "${REPOS}") >> $GITHUB_OUTPUT
- uses: spinnaker/bumpdeps@master
with:
ref: ${{ github.event.client_payload.ref }}
baseBranch: ${{ github.event.client_payload.branch }}
key: korkVersion
repositories: ${{ steps.bumpdep_targets.outputs.REPOS }}
mavenRepositoryUrl: https://repo.maven.apache.org/maven2
groupId: io.spinnaker.kork
artifactId: kork-bom
env:
GITHUB_OAUTH: ${{ secrets.SPINNAKER_GITHUB_TOKEN }}