diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 253bcb7..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: daily diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml deleted file mode 100644 index f921632..0000000 --- a/.github/workflows/dependabot.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: 'Dependabot' -on: - pull_request: {} -permissions: - contents: 'write' - pull-requests: 'write' -jobs: - automerge: - name: 'Auto-Merge' - runs-on: 'ubuntu-latest' - if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'go-crypt/crypt' - steps: - - name: 'Harden Runner' - uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1 - with: - egress-policy: 'audit' - - name: 'Dependabot Fetch Metadata' - id: 'metadata' - uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - - name: 'Enable Auto-Merge' - run: | - gh pr merge --auto --squash "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7c1b174..ec7b778 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,7 +18,7 @@ jobs: - name: 'Set up Go' uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: - go-version: 1.25 + go-version: 1.26 - name: 'Checkout' uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: 'Get Dependencies' @@ -39,6 +39,7 @@ jobs: go: - '1.24' - '1.25' + - '1.26' fail-fast: false steps: - name: 'Harden Runner' diff --git a/.renovaterc b/.renovaterc index 7d206d5..525840a 100644 --- a/.renovaterc +++ b/.renovaterc @@ -1,7 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "constraints": { - "go": "1.25" + "go": "1.26" }, "extends": [ "config:recommended", @@ -14,10 +14,37 @@ ":semanticPrefixFixDepsChoreOthers" ], "enabledManagers": [ - "gomod" + "gomod", + "github-actions" ], "postUpdateOptions": [ - "gomodTidy", - "gomodMassage" + "gomodTidy" + ], + "branchPrefix": "renovate-", + "rebaseWhen": "conflicted", + "prConcurrentLimit": 10, + "prHourlyLimit": 100, + "labels": [ + "dependencies" + ], + "packageRules": [ + { + "matchDatasources": [ + "go" + ], + "addLabels": [ + "go" + ] + }, + { + "matchUpdateTypes": [ + "digest", + "minor", + "patch" + ], + "automerge": true, + "automergeType": "pr", + "platformAutomerge": true + } ] } diff --git a/README.md b/README.md index 8747be5..6cce2e1 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Use `go get` to add this module to your project with `go get github.com/go-crypt ### Requirements -- go 1.23+ +- go 1.24+ ## Usage