feat(plugins/projects): add support for GitHub projects beta (#1178)

This commit is contained in:
Simon Lecoq
2022-08-06 20:39:22 +02:00
committed by GitHub
parent cf21c67a39
commit 6c04a1ca5e
14 changed files with 222 additions and 47 deletions

View File

@@ -2,8 +2,6 @@ name: 🗂️ GitHub projects
category: github
description: |
This plugin displays progress of profile and repository projects.
notes: |
> This plugin currently only supports [GitHub projects boards](https://docs.github.com/en/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards) and not [GitHub projects (beta)](https://docs.github.com/en/issues/trying-out-the-new-projects-experience/about-projects)
examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.projects.svg
index: 25
@@ -14,6 +12,7 @@ supports:
scopes:
- public_access
- public_repo
- read:project
inputs:
plugin_projects:
@@ -37,6 +36,8 @@ inputs:
Featured repositories projects
Use the following syntax for each project `:user/:repo/projects/:project_id`
> [GitHub projects (beta)](https://docs.github.com/en/issues/trying-out-the-new-projects-experience/about-projects) needs to use the same syntax as above and repository must specified repository must be linked to given project.
type: array
example: username/repo/projects/1, username/repo/projects/2, ...
format: comma-separated