spinnaker / bumpdeps

A GitHub Action to automatically bump Spinnaker dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Kotlin 99.2%Language:Dockerfile 0.8%