Skip to content

GitHub Action that adds a comment to a pull request with any dependency updates found.

License

Notifications You must be signed in to change notification settings

UpSync-Dev/sbt-dependency-updates-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

sbt-dependency-updates-action

Overview

  • This is a GitHub Action for Scala projects
  • It uses the sbt-updates plugin to check if there are any library updates
  • If any library updates are found it adds a comment to the pull request with the details
  • If no updates are found, it doesn't post a comment to avoid noise
  • Example repo using this action: sbt-dependency-updates-test

Usage

Prerequisites

  • You need to have the sbt-updates plugin within your Scala project.
  • Your /project/plugins.sbt file should contain something along the lines of:
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")

Inputs

Input Required Default Description
token no GITHUB_TOKEN A repository scoped personal access token if needed.

Example

- uses: upsync-dev/sbt-dependency-updates-action@v2

Full Example

name: Pull Request Checks

on: [pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1

      - name: Sbt Dependency Updates
        uses: UpSync-Dev/sbt-dependency-updates-action@v2
        with:
          - token: some-token-here

Licence

The scripts and documentation in this project are released under the Apache License 2.0

Contributors

Muhammed Ahmed