diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2d5400..8dcda58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,19 +10,14 @@ jobs: strategy: matrix: ruby: - - '2.6' - - '2.7' - '3.0' - '3.1' + - '3.2' gemfile: - Gemfile - - gemfiles/activesupport-5.2.gemfile - gemfiles/activesupport-6.0.gemfile - gemfiles/activesupport-6.1.gemfile - gemfiles/activesupport-7.0.gemfile - exclude: - - ruby: '2.6' - gemfile: gemfiles/activesupport-7.0.gemfile name: Ruby ${{ matrix.ruby }} ${{ matrix.gemfile }} steps: diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 0000000..5fa4908 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,23 @@ +# .github/workflows/cla.yml +name: Contributor License Agreement (CLA) + +on: + pull_request_target: + types: [opened, synchronize] + issue_comment: + types: [created] + +jobs: + cla: + runs-on: ubuntu-latest + if: | + (github.event.issue.pull_request + && !github.event.issue.pull_request.merged_at + && contains(github.event.comment.body, 'signed') + ) + || (github.event.pull_request && !github.event.pull_request.merged) + steps: + - uses: Shopify/shopify-cla-action@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + cla-token: ${{ secrets.CLA_TOKEN }} diff --git a/gemfiles/activesupport-5.2.gemfile b/gemfiles/activesupport-5.2.gemfile deleted file mode 100644 index bfd27ab..0000000 --- a/gemfiles/activesupport-5.2.gemfile +++ /dev/null @@ -1,5 +0,0 @@ -source 'https://rubygems.org' - -gemspec path: '..' - -gem 'activesupport', '~> 5.2'