Skip to content

A GitHub Action to automatically bump Spinnaker dependencies

License

Notifications You must be signed in to change notification settings

dbyron-sf/bumpdeps

 
 

Repository files navigation

bumpdeps

Bumpdeps is a github action to automatically modify the version dependencies in a Spinnaker repo's gradle.properties files. It requires the following inputs:

  • ref: The git ref that triggered this workflow run. This should almost always be ${{ github.ref }}
  • key: The key in the gradle.properties file that will be modified (e.g. korkVersion)
  • repositories: The list of repositories to modify (i.e. the ones that depend on this repository)

An example workflow looks something like this:

name: Release

on:
  push:
    tags:
    - "v.+"

jobs:
  bump-dependencies:
    runs-on: ubuntu-latest
    steps:
    - uses: spinnaker/bumpdeps@master
      with:
        ref: ${{ github.ref }}
        key: korkVersion
        repositories: fiat,echo
      env:
        GITHUB_OAUTH: ${{ secrets.REPO_OAUTH_TOKEN }}

About

A GitHub Action to automatically bump Spinnaker dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 99.2%
  • Dockerfile 0.8%