mirror of
https://github.com/github/awesome-copilot.git
synced 2026-07-14 01:51:02 +00:00
Add Repo Actions Hub canvas extension (#2237)
* Add repo actions hub extension Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix repo actions hub review feedback Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "repo-actions-hub",
|
||||
"description": "Browse repository GitHub Actions workflows, inspect recent runs, and trigger manual workflow_dispatch runs from a Copilot canvas.",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": "James Montemagno",
|
||||
"url": "https://github.com/jamesmontemagno"
|
||||
},
|
||||
"keywords": [
|
||||
"actions",
|
||||
"canvas",
|
||||
"copilot-extension",
|
||||
"github-actions",
|
||||
"recent-runs",
|
||||
"workflow-dispatch"
|
||||
],
|
||||
"logo": "assets/preview.png",
|
||||
"extensions": "."
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
# Repo Actions Hub
|
||||
|
||||
A GitHub Copilot canvas for browsing repository GitHub Actions workflows, reviewing recent runs, opening rich workflow/run details in a modal, and triggering manual `workflow_dispatch` runs.
|
||||
|
||||
## Files
|
||||
|
||||
- `extension.mjs` - canvas server, GitHub Actions data loading, modal details UI, and workflow run actions.
|
||||
- `assets/preview.png` - gallery preview image for the extension catalog.
|
||||
- `copilot-extension.json` - Copilot extension name/version metadata.
|
||||
- `package.json` - extension metadata for cataloging and packaging.
|
||||
- `.github/plugin/plugin.json` - plugin metadata used by the extension marketplace and website.
|
||||
|
||||
## Install
|
||||
|
||||
Ask Copilot to install the committed extension URL:
|
||||
|
||||
```text
|
||||
Install this extension: https://github.com/github/awesome-copilot/tree/main/extensions/repo-actions-hub
|
||||
```
|
||||
|
||||
You can also copy the folder into one of these locations:
|
||||
|
||||
- `~/.copilot/extensions/repo-actions-hub/` - user scope
|
||||
- `.github/extensions/repo-actions-hub/` - project scope
|
||||
|
||||
Reload extensions in the app, then open the `repo-actions-hub` canvas.
|
||||
|
||||
## Agent actions
|
||||
|
||||
- `get_state` - return the current workflow and recent-run state for the active repository.
|
||||
- `refresh` - reload workflows and recent runs from GitHub Actions.
|
||||
- `get_workflow_details { workflowId }` - inspect a workflow, its dispatch support, inputs, YAML, and recent runs.
|
||||
- `run_workflow { workflowId, ref?, inputs? }` - trigger a `workflow_dispatch` run for a workflow.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 562 KiB |
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "repo-actions-hub",
|
||||
"version": 1
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "repo-actions-hub",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"main": "extension.mjs",
|
||||
"dependencies": {
|
||||
"@github/copilot-sdk": "latest"
|
||||
},
|
||||
"description": "Browse repository GitHub Actions workflows, inspect recent runs, and trigger manual workflow_dispatch runs from a Copilot canvas.",
|
||||
"keywords": [
|
||||
"actions",
|
||||
"canvas",
|
||||
"copilot-extension",
|
||||
"github-actions",
|
||||
"recent-runs",
|
||||
"workflow-dispatch"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user