From 3ffa172af87ce1d44841d3348ad4dbca57f22277 Mon Sep 17 00:00:00 2001 From: Ubiratan Soares <ubiratan.f.soares@gmail.com> Date: Thu, 20 Jun 2024 03:33:57 +0200 Subject: [PATCH] Project setup (#1) --- .editorconfig | 12 ++++++++++++ .github/renovate.json | 13 +++++++++++++ .github/workflows/ci.yml | 21 +++++++++++++++++++++ .gitignore | 3 +++ .mergify.yml | 19 +++++++++++++++++++ README.md | 5 +++-- 6 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 .editorconfig create mode 100644 .github/renovate.json create mode 100644 .github/workflows/ci.yml create mode 100644 .gitignore create mode 100644 .mergify.yml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4b26ad3 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{sh,bats}] +indent_style = space +indent_size = 4 diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..3cddc47 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + "helpers:pinGitHubActionDigests", + ":pinDevDependencies" + ], + "osvVulnerabilityAlerts": true, + "dependencyDashboard": true, + "labels": [ + "dependencies" + ] +} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f1f65d6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +# Copyright 2024 Dotanuki Labs +# SPDX-License-Identifier: MIT + +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + checks: + runs-on: ubuntu-22.04 + + steps: + - name: Project Checkout + uses: actions/checkout@v4.1.4 + + - name: Run checks + run: echo "Done" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c752d82 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_STORE +.idea +dist diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..d9f190c --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,19 @@ +# Copyright 2024 Dotanuki Labs +# SPDX-License-Identifier: MIT + +pull_request_rules: + - name: Automatic merge for Renovate pull requests + conditions: + - author~=^renovate\[bot\]$ + - check-success=checks + actions: + merge: + method: squash + + - name: Be author's friend + conditions: + - author~=ubiratansoares + - check-success=checks + actions: + merge: + method: squash diff --git a/README.md b/README.md index 8da6dfa..1ccab6a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# fredius -Dockerized conventions to drive Rust quality checks and CI builds +# Callinectes + +Dockerized conventions to drive Rust quality checks