From f9b782364188296cefbf5de5f7cd1c22e0db4cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 16 Jun 2023 21:24:59 +0000 Subject: [PATCH 1/2] Correct the Copyright header and email address This is Shopify's copyright, and we should put the team email for communication. --- LICENSE.txt | 2 +- shopify-ruby-definitions.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" From 77a31ead4078d84115d2c7c2cfcfdaf6e3a3cf71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 16 Jun 2023 21:26:14 +0000 Subject: [PATCH 2/2] Add CLA workflow It is critical that the project is obtaining all necessary rights to use the contribution in the project. --- .github/workflows/cla.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/cla.yml 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 }}