-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: create automated dashboard ci #171
base: main
Are you sure you want to change the base?
Conversation
✒️ PR Title Commitlint - ✔️ Lint success! |
}, | ||
repos: edges { | ||
node { | ||
... on Repository { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this ... on Repository {
part doing? Not familiar with the syntax.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It forces graphql to make sure that the node is the correct type iirc, it also has other functions in graphql depending on how you use it, on line 103 I think it helps expand the response and acts like a for loop while if used in other places it can make blocks reusable: https://graphql.org/learn/queries/#fragments
} | ||
items: edges { | ||
node { | ||
id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we filter the query for what to remove to look for things closed or merged more than X days ago?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe though what I'm grabbing now is just 'everything on the board'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How long are we talking days wise?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvm - this doesn't look possible, you can find the type (issue/pr etc) but not any further details and the only option I can see as to ordering is the order it appears on the project board itself
} | ||
PRs: edges { | ||
node { | ||
id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we limit it to only authored by marvin-serp-bot
(by variable).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't limit by author unfortunately - it was one of the first things I tried to do
🚧 Suggest a change
A clear and concise description of what you are changing.
📝 Pre-merge checklist
Ready to merge? Do not merge until all checks are satisfied.
required
CI checks passed on the most recent commit?type(scope): summary
breaking changes
declared in the PR title in conventional-commit style? ie.type!(scope): summary