[PATCH] D133476: [automation] Add scripts to automate GitHub projects

Tobias Hieta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 05:51:48 PDT 2022


thieta added a comment.

Reading through your comments I think it's fair to say that we should try doing the same things with your library and see if that's working and if it's easier or more annoying. Is that something you have bandwidth for or should I try to use your library? I just want to solve the issue mentioned above so that there is less for me to do for each release, so implementation wise I am less bothered exactly how it's done.



================
Comment at: llvm/utils/git/github-project.py:14-36
+query($org: String!, $number: Int!) {
+  organization(login: $org) {
+    projectV2(number: $number) {
+      id
+      fields(first:20) {
+        nodes {
+          ... on ProjectV2Field {
----------------
kwk wrote:
> I would love to see those queries in their own files. Then we can call them manually and verify them using tools etc. But I see that this query itself comes from here: https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions#example-workflow-authenticating-with-a-github-app, right?
Yeah agreed.

I did most of the queries using the explorer tool by github.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133476/new/

https://reviews.llvm.org/D133476



More information about the llvm-commits mailing list