Skip to content
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

Draft
wants to merge 85 commits into
base: main
Choose a base branch
from

Conversation

rdash99
Copy link
Contributor

@rdash99 rdash99 commented Oct 3, 2024

🚧 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.

  • 💹 Have all required CI checks passed on the most recent commit?
  • ✒️ Is the PR title a valid and meaningful conventional-commit message? ie. type(scope): summary
  • 💥 Are breaking changes declared in the PR title in conventional-commit style? ie. type!(scope): summary
  • 🎨 Does new code follow the code style of this project?
  • 🔍 Has new code been spellchecked and linted?
  • 📖 Have docs been updated where necessary?
  • 💩 Have commits been checked for accidental file inclusions?

@rdash99 rdash99 added the enhancement New feature or request label Oct 3, 2024
@rdash99 rdash99 self-assigned this Oct 3, 2024
@rdash99 rdash99 linked an issue Oct 3, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Oct 3, 2024

✒️ PR Title Commitlint - ✔️ Lint success!

.github/workflows/project-dashboard.yaml Outdated Show resolved Hide resolved
},
repos: edges {
node {
... on Repository {
Copy link
Member

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.

Copy link
Contributor Author

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
Copy link
Member

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?

Copy link
Contributor Author

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'

Copy link
Contributor Author

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?

Copy link
Contributor Author

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
Copy link
Member

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).

Copy link
Contributor Author

@rdash99 rdash99 Oct 11, 2024

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

.github/workflows/project-dashboard.yaml Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project board collation ci
2 participants