diff --git a/.githooks/pre-commit b/.githooks/pre-commit new file mode 100644 index 00000000..987d26aa --- /dev/null +++ b/.githooks/pre-commit @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +LC_ALL=C + +local_branch="$(git rev-parse --abbrev-ref HEAD)" + +valid_branch_regex="^(dependabot|feature|fix|docs|style|refactor|perf|hotfix|test|chore|create)(\/[a-zA-Z0-9._-]+)+$" + +message="There is something wrong with your branch name. Branch names in this project must adhere to this contract: $valid_branch_regex. Your commit will be rejected. You should rename your branch to a valid name and try again." + +if [[ ! $local_branch =~ $valid_branch_regex ]] +then + echo "$message" + exit 1 +fi + +dotnet tool restore && dotnet csharpier . --check diff --git a/.github/workflows/infisical-secrets-check.yml b/.github/workflows/infisical-secrets-check.yml index bdbde324..4fb5786f 100644 --- a/.github/workflows/infisical-secrets-check.yml +++ b/.github/workflows/infisical-secrets-check.yml @@ -23,4 +23,4 @@ jobs: fetch-depth: 0 - name: Infisical secrets check - uses: guibranco/github-infisical-secrets-check-action@v1.1.14 + uses: guibranco/github-infisical-secrets-check-action@v1.1.16 diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index ab7d9406..e794c9be 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -43,7 +43,7 @@ jobs: sudo wg-quick up ./wg0.conf - name: Run lychee - uses: lycheeverse/lychee-action@v2.0.2 + uses: lycheeverse/lychee-action@v2.1.0 id: lychee env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/examples/emberjs/package-lock.json b/examples/emberjs/package-lock.json index 0d358f64..d9b9c6b9 100644 --- a/examples/emberjs/package-lock.json +++ b/examples/emberjs/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "bancos-brasileiros": "^6.0.93" + "bancos-brasileiros": "^6.0.97" }, "devDependencies": { "@ember/optional-features": "^2.0.0", @@ -4880,9 +4880,9 @@ "dev": true }, "node_modules/bancos-brasileiros": { - "version": "6.0.93", - "resolved": "https://registry.npmjs.org/bancos-brasileiros/-/bancos-brasileiros-6.0.93.tgz", - "integrity": "sha512-C1nLNoXgvU+Vqu+rs9nPxbrJuNk3LMUNvE2akUQVFx0d/kq+rCUQnmWELZL2dNaA0ONqTutI+NNFUYuWqziOkQ==", + "version": "6.0.97", + "resolved": "https://registry.npmjs.org/bancos-brasileiros/-/bancos-brasileiros-6.0.97.tgz", + "integrity": "sha512-EiolOv8Y7pW+DpDPi+rU+DRtRbArykskL0s26L/l+dFRAHYOiebkTCTuSZ+VPbfJBEqbkHPi9o6EMiYTyLhQMQ==", "license": "UNLICENSED" }, "node_modules/base": { @@ -24915,9 +24915,9 @@ "dev": true }, "bancos-brasileiros": { - "version": "6.0.93", - "resolved": "https://registry.npmjs.org/bancos-brasileiros/-/bancos-brasileiros-6.0.93.tgz", - "integrity": "sha512-C1nLNoXgvU+Vqu+rs9nPxbrJuNk3LMUNvE2akUQVFx0d/kq+rCUQnmWELZL2dNaA0ONqTutI+NNFUYuWqziOkQ==" + "version": "6.0.97", + "resolved": "https://registry.npmjs.org/bancos-brasileiros/-/bancos-brasileiros-6.0.97.tgz", + "integrity": "sha512-EiolOv8Y7pW+DpDPi+rU+DRtRbArykskL0s26L/l+dFRAHYOiebkTCTuSZ+VPbfJBEqbkHPi9o6EMiYTyLhQMQ==" }, "base": { "version": "0.11.2", diff --git a/examples/emberjs/package.json b/examples/emberjs/package.json index 05684691..c280dcfa 100644 --- a/examples/emberjs/package.json +++ b/examples/emberjs/package.json @@ -67,6 +67,6 @@ "edition": "octane" }, "dependencies": { - "bancos-brasileiros": "^6.0.93" + "bancos-brasileiros": "^6.0.97" } }