Skip to content

Bump nokogiri from 1.15.6 to 1.15.7 #246

Bump nokogiri from 1.15.6 to 1.15.7

Bump nokogiri from 1.15.6 to 1.15.7 #246

Workflow file for this run

name: ci
on:
pull_request:
types: [labeled, synchronize]
push:
branches: [master]
jobs:
qa:
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Freeze autogenerated files
run: |
chmod 0444 Gemfile.lock
- name: Setup Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: |
bin/rspec
auto-approve:
if: github.actor == 'dependabot'
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Auto approve action
uses: hmarr/auto-approve-action@v4
merge:
if: ${{ contains(github.event.pull_request.labels.*.name, 'automerge') }}
runs-on: ubuntu-latest
needs: qa
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Merge pull request
run: |
PR_NUMBER=$(basename "$PR_URL")
PR_TITLE=$(gh pr view "$PR_NUMBER" --json title -q ".title")
PR_BODY=$(gh pr view "$PR_NUMBER" --json body -q ".body")
COMMIT_MESSAGE="${PR_TITLE} (#${PR_NUMBER})"
gh pr merge "$PR_URL" --auto --squash --subject "$COMMIT_MESSAGE" --body "$PR_BODY"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}