Skip to content

Commit dabbd8b

Browse files
committed
Update addToBackportingProject.scala
1 parent e0c030c commit dabbd8b

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

project/scripts/addToBackportingProject.scala

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//> using scala 3.3.1
2-
//> using toolkit 0.2.1
3-
//> using lib pro.kordyjan::pytanie:0.1.7
1+
//> using scala 3.lts
2+
//> using toolkit 0.4.0
3+
//> using lib pro.kordyjan::pytanie:0.1.9
44

55
import pytanie.*
66
import sttp.client4.*
@@ -10,8 +10,29 @@ lazy val apiToken =
1010

1111
case class ID(value: String) derives WrapperVariable
1212

13-
val PROJECT_ID = ID("PVT_kwDOACj3ec4AWSoi")
14-
val FIELD_ID = ID("PVTF_lADOACj3ec4AWSoizgO7uJ4")
13+
// Obtained with:
14+
// query {
15+
// organization(login: "scala") {
16+
// projectV2(number: 2) {
17+
// id
18+
// }
19+
// }
20+
// }
21+
val PROJECT_ID = ID("PVT_kwDN3uPOAHewkg")
22+
23+
// Obtained with:
24+
// query {
25+
// organization(login: "scala") {
26+
// projectV2(number: 2) {
27+
// field(name: "Merged at") {
28+
// ... on ProjectV2FieldCommon {
29+
// id
30+
// }
31+
// }
32+
// }
33+
// }
34+
// }
35+
val FIELD_ID = ID("PVTF_lADN3uPOAHewks4E3B1I")
1536

1637
@main def run(commitSha: String) =
1738
val (id, date) = getPrData(commitSha)

0 commit comments

Comments
 (0)