From 97a825b2aea7080bd6bf2a997d3ca9011bd23506 Mon Sep 17 00:00:00 2001
From: Yurii Shynbuiev
Date: Mon, 13 May 2024 17:33:31 +0800
Subject: [PATCH] ci: switch Scala Steward to make the PRs as the
hyperledger-bot
Signed-off-by: Yurii Shynbuiev
---
.github/workflows/scala-steward.yml | 5 ++++-
.scala-steward.conf | 5 +++++
README.md | 5 +++++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml
index bf174d5564..ecb618c936 100644
--- a/.github/workflows/scala-steward.yml
+++ b/.github/workflows/scala-steward.yml
@@ -17,9 +17,12 @@ jobs:
- uses: crazy-max/ghaction-import-gpg@v3
id: import_gpg
with:
- gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
+ gpg-private-key: ${{ secrets.HYP_BOT_GPG_PRIVATE }}
+ passphrase: ${{ secrets.HYP_BOT_GPG_PASSWORD }}
git-user-signingkey: true
git-commit-gpgsign: true
+ git_config_global: true
+ git_tag_gpgsign: true
- name: Launch Scala Steward
uses: scala-steward-org/scala-steward-action@v2
diff --git a/.scala-steward.conf b/.scala-steward.conf
index e20f84cfd9..5a9c179925 100644
--- a/.scala-steward.conf
+++ b/.scala-steward.conf
@@ -10,3 +10,8 @@ updates.ignore = [
{ groupId = "org.keycloak", artifactId = "keycloak-authz-client" }, #TODO
{ groupId = "dev.zio", artifactId = "zio-interop-cats" } #TODO
]
+
+# If set, Scala Steward will only create or update `n` PRs each time it runs (see `pullRequests.frequency` above).
+# Useful if running frequently and/or CI build are costly
+# Default: null
+updates.limit = 10
diff --git a/README.md b/README.md
index aedaebcf3f..68b2a131d2 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,11 @@
+
+
+
+
+