source/plugins/projects/README.md
</td>
<b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_projects_limit</code></h4></td> <td rowspan="2"><p>Display limit</p> <p>Projects defined by <a href="/source/plugins/projects/README.md#plugin_projects_repositories"><code>plugin_projects_repositories</code></a> are not affected by this option</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(0 โค ๐ฅ โค 100)</i><b>default:</b> 4
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_projects_repositories</code></h4></td> <td rowspan="2"><p>Featured repositories projects</p> <p>Use the following syntax for each project <code>:user/:repo/projects/:project_id</code></p> <blockquote> <p>โน๏ธ <a href="https://docs.github.com/en/issues/trying-out-the-new-projects-experience/about-projects">GitHub projects (beta)</a> needs to use the same syntax as above and repository must specified repository must be linked to given project.</p> </blockquote> </td> </tr> <tr> <td nowrap="nowrap">โฏ๏ธ Cannot be preset<b>type:</b> <code>array</code> <i>(comma-separated)</i>
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_projects_descriptions</code></h4></td> <td rowspan="2"><p>Projects descriptions</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>boolean</code><b>default:</b> no
</td> </tr> </table> <!--/options-->By default, projects have progress tracking disabled.
To enable it, open the โก Menu from the project page and opt-in to Track project progress.
To create a personal project, select the Projects tab from your profile:
Fill informations and set visibility to public:
Repositories projects are created from the Projects tab of a repository.
To use it with this plugin, retrieve the last section of the project URL (it should match the format :user/:repository/projects/:project_id) and add it in the plugin_projects_repositories.
Be sure to tick Track project progress in project settings to display a progress bar.
Example: include a project repository
- uses: lowlighter/metrics@latest
with:
plugin_projects: yes
plugin_projects_repositories: lowlighter/metrics/projects/1
name: Project from a repository
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.projects.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
base: ""
plugin_projects: yes
plugin_projects_repositories: lowlighter/metrics/projects/1
plugin_projects_descriptions: yes