From 7a393dbbecdd68127372d27c4dc22c1f900dc619 Mon Sep 17 00:00:00 2001 From: Nathan Klick Date: Sat, 16 Mar 2024 18:39:16 -0500 Subject: [PATCH] chore: add dependabot configuration file & update misc repo config (#144) Signed-off-by: Nathan Klick --- .github/CODEOWNERS | 35 ++++++++++++++++++++++ .github/dependabot.yml | 50 ++++++++++++++++++++++++++++++++ .github/pull_request_template.md | 9 ++++++ .gitignore | 6 ++++ 4 files changed, 100 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/pull_request_template.md diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 651e1a5f..e1231003 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -9,3 +9,38 @@ ############################### /packages/hedera-wallet-snap/ @Nana-EC @kpachhai @hashgraph/hedera-smart-contracts @hashgraph/tuum-tech-hedera +######################### +##### Core Files ###### +######################### + +# NOTE: Must be placed last to ensure enforcement over all other rules + +# Protection Rules for Github Configuration Files and Actions Workflows +/.github/ @hashgraph/release-engineering-managers @hashgraph/hedera-smart-contracts-managers + +# Top level NPM configuration files +/package.json @hashgraph/release-engineering-managers @hashgraph/hedera-smart-contracts-managers +/package-lock.json @hashgraph/release-engineering-managers @hashgraph/hedera-smart-contracts-managers + +# Codacy Tool Configurations +/config/ @hashgraph/release-engineering-managers +.remarkrc @hashgraph/release-engineering-managers +/.prettierrc @hashgraph/hedera-smart-contracts-managers +/.eslintrc.js @hashgraph/release-engineering-managers + +# Semantic Release Configuration +.releaserc @hashgraph/release-engineering-managers + +# Self-protection for root CODEOWNERS files (this file should not exist and should definitely require approval) +/CODEOWNERS @hashgraph/release-engineering-managers + +# Protect the repository root files +/README.md @hashgraph/hedera-smart-contracts-managers +**/LICENSE @hashgraph/hedera-smart-contracts-managers + +# CodeCov configuration +**/codecov.yml @hashgraph/release-engineering-managers + +# Git Ignore definitions +**/.gitignore @hashgraph/release-engineering-managers @hashgraph/hedera-smart-contracts-managers +**/.gitignore.* @hashgraph/release-engineering-managers @hashgraph/hedera-smart-contracts-managers diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..d52ea430 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,50 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + commit-message: + prefix: "chore" + include: "scope" + open-pull-requests-limit: 15 + + - package-ecosystem: npm + directory: "/" + schedule: + interval: "daily" + commit-message: + prefix: "chore" + include: "scope" + versioning-strategy: increase + open-pull-requests-limit: 5 + + - package-ecosystem: npm + directory: "/packages/hedera-wallet-snap" + schedule: + interval: "daily" + commit-message: + prefix: "chore" + include: "scope" + versioning-strategy: increase + open-pull-requests-limit: 15 + + - package-ecosystem: npm + directory: "/packages/hedera-wallet-snap/packages/site" + schedule: + interval: "daily" + commit-message: + prefix: "chore" + include: "scope" + versioning-strategy: increase + open-pull-requests-limit: 15 + + - package-ecosystem: npm + directory: "/packages/hedera-wallet-snap/packages/snap" + schedule: + interval: "daily" + commit-message: + prefix: "chore" + include: "scope" + versioning-strategy: increase + open-pull-requests-limit: 15 diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..e4d97dcf --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +## Description + +This pull request changes the following: + +- TBD + +### Related Issues + +- Closes # diff --git a/.gitignore b/.gitignore index c6bba591..927a97d7 100644 --- a/.gitignore +++ b/.gitignore @@ -128,3 +128,9 @@ dist .yarn/build-state.yml .yarn/install-state.gz .pnp.* + +# IntelliJ IDEA files +.idea/ + +# MacOS X Metadata files +.DS_Store