mboeh / pull-request-on-bundle-update-with-optional-jfrog

This is probably not useful to anyone but me, sorry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pull request on bundle update

This Github Action is that send pull request on bundle update and then uses bundler-diff to display a table for the updated gems. Addtionally, if you are using artifactory for accessing and hosting private gems you can provide some jfrog information in order to ensure those can be accessed.

This Github Action is running on ruby2.7-alpine.

Usage

※ Without Gemfile and Gemfile.lock, this workflow is failure.

name: pull request on bundle update
on:
  schedule:
    - cron: '*/15 * * * *'

jobs:
  bundle-update:
    name: bundle update
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1
        with:
          fetch-depth: 1
      - name: pull request on bundle update
        uses: LindseyB/pull-request-on-bundle-update-with-optional-jfrog@master
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          git_user_name: example_name
          git_email: test@example.com
          reviewers: supermanner,hoge,fuga // optional
          bundler_version: 2.0.1 // optional
          jfrog_path: example.jfrog.io // optional
          jfrog_username: example%40example.com // optional
          jfrog_api_token: ${{ secrets.JFROG_API_TOKEN }} // optional
          yarn_upgrade: true // optional
          npm_token: ${{ secrets.NPM_TOKEN }} // optional

Demo

DEMO

Contributing

Bug reports and pull requests are welcome on GitHub at pull-request-on-bundle-update-with-optional-jfrog.

License

The plugin is available as open source under the terms of the MIT License.

About

This is probably not useful to anyone but me, sorry

License:MIT License


Languages

Language:Shell 79.2%Language:Dockerfile 20.8%