-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from kpumuk/kpumuk-patch-1
Dependabot and Appraisal live together happily
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: StandardRB | ||
|
||
on: | ||
pull_request: | ||
types: [labeled] | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
if: contains(github.event.pull_request.labels.*.name, 'bundler') | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
ruby-version: | ||
- "3.2" | ||
|
||
name: Appraisal - Ruby ${{ matrix.ruby-version }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Set up Ruby ${{ matrix.ruby-version }} | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true | ||
- name: Update Appraisal gemfiles | ||
run: | | ||
bundle exec appraisal update | ||
- name: Commit gemfiles | ||
run: | | ||
git config --global user.name "Github Workflow" | ||
git config --global user.email "[email protected]" | ||
git add gemfiles/* | ||
git commit -am "Updated Appraisal gemfiles" | ||
git push |