Skip to content

Commit a1fe720

Browse files
committed
Add README
1 parent 0441dc4 commit a1fe720

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Gem Compare
2+
3+
For pull requests with a title matching `/Bump (.+) from (.+) to (.+)/`, it posts a comment with the output from `gem compare` and `gem compare --diff`. Uses https://rubygems.org/gems/gem-compare (https://github.com/fedora-ruby/gem-compare).
4+
5+
To use in your repo, add a workflow like this:
6+
7+
````yaml
8+
name: Gem Compare
9+
10+
on:
11+
pull_request:
12+
types:
13+
- opened
14+
- reopened
15+
16+
jobs:
17+
compare:
18+
if: startsWith(github.head_ref, 'dependabot/bundler/')
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: dentarg/gem-compare@v1
22+
with:
23+
github-token: ${{ secrets.GITHUB_TOKEN }}
24+
````

0 commit comments

Comments
 (0)