diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 0000000..2c3a404 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,22 @@ +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/LICENSE.txt b/LICENSE.txt index 99520e0..3ea55c8 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2023 Peter Zhu +Copyright (c) 2023 Shopify Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/shopify-ruby-definitions.gemspec b/shopify-ruby-definitions.gemspec index ab81c96..269f7df 100644 --- a/shopify-ruby-definitions.gemspec +++ b/shopify-ruby-definitions.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |spec| spec.name = "shopify-ruby-definitions" spec.version = ShopifyRubyDefinitions::VERSION spec.authors = ["Peter Zhu"] - spec.email = ["peter@peterzhu.ca"] + spec.email = ["ruby@shopify.com"] spec.summary = "Ruby builds used at Shopify." spec.homepage = "https://github.com/Shopify/ruby-definitions"