Skip to content

Commit edf0c44

Browse files
committed
chore: retire scala-improvement-bot account
1 parent 73258ee commit edf0c44

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/scripts/generate-docs.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import io.circe.{ Json, yaml }
1414
import scala.annotation.tailrec
1515
import scala.sys.process.Process
1616

17-
val gitToken = sys.env("IMPROVEMENT_BOT_TOKEN")
17+
val gitToken = sys.env("BOT_TOKEN")
1818
val yamlPrinter = yaml.Printer(preserveOrder = true)
1919

2020
/**
@@ -43,8 +43,8 @@ def clone(repo: String, branch: String): os.Path =
4343
val url = s"https://x-access-token:${gitToken}@github.com/${repo}"
4444
val path = os.temp.dir()
4545
run(s"git clone --branch ${branch} ${url} ${path}", os.pwd)
46-
run(s"git config user.name \"Scala Improvement Bot\"", path)
47-
run(s"git config user.email scala.improvement@epfl.ch", path)
46+
run(s"git config user.name \"dottybot\"", path)
47+
run(s"git config user.email dottybot@groupes.epfl.ch", path)
4848
path
4949

5050
// Invoke command and make sure it succeeds. For some reason, os.proc(cmd).call(cwd) does not work.

.github/workflows/generate-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- name: Generate SIP documentation
1414
env:
15-
IMPROVEMENT_BOT_TOKEN: ${{ secrets.IMPROVEMENT_BOT_TOKEN }}
15+
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
1616
run: scala-cli .github/scripts/generate-docs.scala

0 commit comments

Comments
 (0)