From 2869881760a8536c360aa55eb285a9fecc16f4d1 Mon Sep 17 00:00:00 2001 From: Adam Petro Date: Fri, 24 May 2024 10:18:18 -0400 Subject: [PATCH 1/2] Add CLA check --- .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 }} From f6cd6e1987b51a81fb4e6a3ced60baa35fbe94ef Mon Sep 17 00:00:00 2001 From: Adam Petro Date: Fri, 24 May 2024 10:18:41 -0400 Subject: [PATCH 2/2] Rename references from `adampetro` to `Shopify` --- LICENSE | 2 +- bluejay-core/Cargo.toml | 4 ++-- bluejay-parser/Cargo.toml | 4 ++-- bluejay-printer/Cargo.toml | 4 ++-- bluejay-schema-comparator/Cargo.toml | 4 ++-- bluejay-typegen-macro/Cargo.toml | 4 ++-- bluejay-typegen/Cargo.toml | 4 ++-- bluejay-validator/Cargo.toml | 4 ++-- bluejay-visibility/Cargo.toml | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/LICENSE b/LICENSE index 36d6918..12c9539 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Adam Petro +Copyright (c) 2023-present, 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/bluejay-core/Cargo.toml b/bluejay-core/Cargo.toml index ece50da..9ae0de2 100644 --- a/bluejay-core/Cargo.toml +++ b/bluejay-core/Cargo.toml @@ -3,8 +3,8 @@ name = "bluejay-core" version = "0.1.0" edition = "2021" license = "MIT" -repository = "https://github.com/adampetro/bluejay" -homepage = "https://github.com/adampetro/bluejay" +repository = "https://github.com/Shopify/bluejay" +homepage = "https://github.com/Shopify/bluejay" keywords = ["graphql"] exclude = [".gitignore"] description = "Base GraphQL abstractions" diff --git a/bluejay-parser/Cargo.toml b/bluejay-parser/Cargo.toml index 398c273..82abb30 100644 --- a/bluejay-parser/Cargo.toml +++ b/bluejay-parser/Cargo.toml @@ -3,8 +3,8 @@ name = "bluejay-parser" version = "0.1.0" edition = "2021" license = "MIT" -repository = "https://github.com/adampetro/bluejay" -homepage = "https://github.com/adampetro/bluejay" +repository = "https://github.com/Shopify/bluejay" +homepage = "https://github.com/Shopify/bluejay" keywords = ["graphql"] exclude = [".gitignore", "tests/**/*"] description = "A GraphQL parser" diff --git a/bluejay-printer/Cargo.toml b/bluejay-printer/Cargo.toml index a0f47e6..a8737ab 100644 --- a/bluejay-printer/Cargo.toml +++ b/bluejay-printer/Cargo.toml @@ -3,8 +3,8 @@ name = "bluejay-printer" version = "0.1.0" edition = "2021" license = "MIT" -repository = "https://github.com/adampetro/bluejay" -homepage = "https://github.com/adampetro/bluejay" +repository = "https://github.com/Shopify/bluejay" +homepage = "https://github.com/Shopify/bluejay" keywords = ["graphql"] exclude = [".gitignore", "*.graphql", "*.snap"] description = "A GraphQL printer" diff --git a/bluejay-schema-comparator/Cargo.toml b/bluejay-schema-comparator/Cargo.toml index 53e2163..ee2ee6e 100644 --- a/bluejay-schema-comparator/Cargo.toml +++ b/bluejay-schema-comparator/Cargo.toml @@ -3,8 +3,8 @@ name = "bluejay-schema-comparator" version = "0.1.0" edition = "2021" license = "MIT" -repository = "https://github.com/adampetro/bluejay" -homepage = "https://github.com/adampetro/bluejay" +repository = "https://github.com/Shopify/bluejay" +homepage = "https://github.com/Shopify/bluejay" keywords = ["graphql"] exclude = [".gitignore", "tests/**/*"] description = "A GraphQL schema comparator" diff --git a/bluejay-typegen-macro/Cargo.toml b/bluejay-typegen-macro/Cargo.toml index a4ed9b2..afcd4d8 100644 --- a/bluejay-typegen-macro/Cargo.toml +++ b/bluejay-typegen-macro/Cargo.toml @@ -3,8 +3,8 @@ name = "bluejay-typegen-macro" version = "0.1.0" edition = "2021" license = "MIT" -repository = "https://github.com/adampetro/bluejay" -homepage = "https://github.com/adampetro/bluejay" +repository = "https://github.com/Shopify/bluejay" +homepage = "https://github.com/Shopify/bluejay" keywords = ["graphql"] exclude = [".gitignore", "tests/**/*"] description = "Macros for `bluejay-typegen`" diff --git a/bluejay-typegen/Cargo.toml b/bluejay-typegen/Cargo.toml index 5cd772b..8a335eb 100644 --- a/bluejay-typegen/Cargo.toml +++ b/bluejay-typegen/Cargo.toml @@ -3,8 +3,8 @@ name = "bluejay-typegen" version = "0.1.0" edition = "2021" license = "MIT" -repository = "https://github.com/adampetro/bluejay" -homepage = "https://github.com/adampetro/bluejay" +repository = "https://github.com/Shopify/bluejay" +homepage = "https://github.com/Shopify/bluejay" keywords = ["graphql", "typegen"] exclude = [".gitignore", "tests/**/*"] description = "A GraphQL type generator" diff --git a/bluejay-validator/Cargo.toml b/bluejay-validator/Cargo.toml index 067aef7..cb166fc 100644 --- a/bluejay-validator/Cargo.toml +++ b/bluejay-validator/Cargo.toml @@ -3,8 +3,8 @@ name = "bluejay-validator" version = "0.1.0" edition = "2021" license = "MIT" -repository = "https://github.com/adampetro/bluejay" -homepage = "https://github.com/adampetro/bluejay" +repository = "https://github.com/Shopify/bluejay" +homepage = "https://github.com/Shopify/bluejay" keywords = ["graphql"] exclude = [".gitignore", "tests/**/*"] description = "A GraphQL validator" diff --git a/bluejay-visibility/Cargo.toml b/bluejay-visibility/Cargo.toml index 0252b05..3fe6c5c 100644 --- a/bluejay-visibility/Cargo.toml +++ b/bluejay-visibility/Cargo.toml @@ -3,8 +3,8 @@ name = "bluejay-visibility" version = "0.1.0" edition = "2021" license = "MIT" -repository = "https://github.com/adampetro/bluejay" -homepage = "https://github.com/adampetro/bluejay" +repository = "https://github.com/Shopify/bluejay" +homepage = "https://github.com/Shopify/bluejay" keywords = ["graphql"] exclude = [".gitignore", "*.graphql", "*.snap"] description = "A GraphQL schema wrapper for enforcing visibility"