From c6809c7140a1188b83c7849cf74c5b080dcf65a2 Mon Sep 17 00:00:00 2001 From: Leonardo Momente Date: Wed, 8 May 2024 22:00:13 -0300 Subject: [PATCH 1/6] Add CODEOWNERS --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..99d75a1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @Sixfold-AI/dev From 7c1d3bf39d13da125db1074bf014fa9fc114bdd7 Mon Sep 17 00:00:00 2001 From: Leonardo Momente Date: Wed, 8 May 2024 22:00:20 -0300 Subject: [PATCH 2/6] Add dependabot --- .github/dependabot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..54c5596 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: 'npm' + directory: '/' + schedule: + interval: 'weekly' + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'weekly' From 5cb3f67e9e6a455c00e85656e721b8e91e0d95d5 Mon Sep 17 00:00:00 2001 From: Leonardo Momente Date: Wed, 8 May 2024 22:00:32 -0300 Subject: [PATCH 3/6] Copy PR template from Chord --- .github/pull_request_template.md | 58 ++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..437b09b --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,58 @@ +_NOTE: When filling out this template, keep the headers and replace the content with your words or "None" or "N/A" if that section is not relevant._ + +_For the first line of the PR, write one short sentence describing the purpose of the pull request._ + +_In successive paragraphs, add other comments that help us understand the context, the changes, and the impact of the PR._ + +## Developer experience changes + +_Explain any changes to the developer experience - build / deploy workflows, CLI commands, APIs, or events._ + +_If there are no DX changes, write "None"._ + +## Other changes + +_Describe any additional changes made to the codebase here. These might be small unrelated fixes or refactors that you made while working on this PR._ + +_If there are no other changes, write "None"._ + +## Screenshots + +_Include screenshots or videos that demonstrate the changes to a user interface (web, API, CLI)._ + +_If there are no UI changes, write "None"._ + +## Known issues + +_Add a list of issues that are still present in the codebase with regard to this feature - resiliency problems, bugs, unaddressed edge cases, missing error handling, etc. For each issue, link to the corresponding issue record in Linear if one exists._ + +_If there are no known issues, write "None"._ + +## Dependencies + +_Add a list of dependent PRs or actions that must be taken in order for the change in this PR to be effective. For each dependency, link to the corresponding PR or Linear issue._ + +_If there are no dependencies, write "None"._ + +## Development migration + +_Describe any steps that need to be taken to update the development environment after this PR is merged. For example, if you added a new environment variable, describe how to set it. If you added a new database migration, describe how to run it. If you changed a dependency, remind us to run Bundler or Yarn._ + +_Below is an example:_ + +> 1. Stop `bin/dev` +> 2. Run `bundle install` +> 3. Run `rails db:migrate` +> 4. Restart `bin/dev` + +_If no migration steps are required, write "None"._ + +## Release plan + +_Describe any steps that need to be taken to update the staging or production environments after deploying the merge commit. These steps will be merged into the overall plan for all changes going out in the next release._ + +_Example:_ + +> 1. Create a feature flag named `my-feature-flag` in the feature flag service and enable it for all Sixfold users. + +_If no migration steps are required, write "None"._ From b06ee7e13ec65db9d51f9f53d69a993040f5a62e Mon Sep 17 00:00:00 2001 From: Leonardo Momente Date: Wed, 8 May 2024 22:00:42 -0300 Subject: [PATCH 4/6] Add GitHub Actions CI --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1cee6c3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Sixfold - React Active Storage Provider CI +on: + push: + branches: ['main'] + pull_request: + branches: ['main'] +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc + cache: yarn + - name: Install Node packages + run: yarn install --immutable + - name: Lint JS code + run: yarn lint + - name: Format JS code + run: yarn format + - name: Build JS code + run: yarn build + - name: Run tests + run: yarn test From 91b0ae7340432f4878300455b23b978ed7350aa3 Mon Sep 17 00:00:00 2001 From: Leonardo Momente Date: Wed, 8 May 2024 22:03:29 -0300 Subject: [PATCH 5/6] Add .nvmrc file --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..87ec884 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18.18.2 From e5a303219b03e4340b164acd6e429160798b2529 Mon Sep 17 00:00:00 2001 From: Leonardo Momente Date: Fri, 10 May 2024 10:16:31 -0300 Subject: [PATCH 6/6] Update .github/pull_request_template.md Co-authored-by: Nick Char --- .github/pull_request_template.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 437b09b..e6e22d3 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -38,12 +38,6 @@ _If there are no dependencies, write "None"._ _Describe any steps that need to be taken to update the development environment after this PR is merged. For example, if you added a new environment variable, describe how to set it. If you added a new database migration, describe how to run it. If you changed a dependency, remind us to run Bundler or Yarn._ -_Below is an example:_ - -> 1. Stop `bin/dev` -> 2. Run `bundle install` -> 3. Run `rails db:migrate` -> 4. Restart `bin/dev` _If no migration steps are required, write "None"._