Sha256: 8e156eeeeaae857ff39fddf604a7f95de7a0b87b3fbd791441e69792ce52d4e2

Contents?: true

Size: 912 Bytes

Versions: 5

Compression:

Stored size: 912 Bytes

Contents

name: Main
on:
- push
- pull_request_target
jobs:
  ci:
    strategy:
      fail-fast: false
      matrix:
        ruby:
        - '2.7'
        - '3.0'
        - '3.1'
        - head
    name: CI
    runs-on: ubuntu-latest
    env:
      CI: true
    steps:
    - uses: actions/checkout@master
    - uses: ruby/setup-ruby@v1
      with:
        bundler-cache: true
        ruby-version: ${{ matrix.ruby }}
    - name: Test
      run: bundle exec rake test
  automerge:
    name: AutoMerge
    needs: ci
    runs-on: ubuntu-latest
    if: github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]'
    steps:
    - uses: actions/github-script@v3
      with:
        script: |
          github.pulls.merge({
            owner: context.payload.repository.owner.login,
            repo: context.payload.repository.name,
            pull_number: context.payload.pull_request.number
          })

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
syntax_tree-2.3.1 .github/workflows/main.yml
syntax_tree-2.3.0 .github/workflows/main.yml
syntax_tree-2.2.0 .github/workflows/main.yml
syntax_tree-2.1.1 .github/workflows/main.yml
syntax_tree-2.1.0 .github/workflows/main.yml