Skip to content

Commit 69db760

Browse files
Develop (#60)
* Update showcase plugin. * Update packages and copy for plugin addition. * Add plugin submission workflow. * Update package versions. * Update GitHub Actions to use actions/github-script@v8 * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Upgrade actions/github-script and actions/checkout to latest versions * Fix formatting in publish.yml and clarify source field requirements in plugins.mdx --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent ad9d46b commit 69db760

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/create-plugin-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: contains(github.event.issue.labels.*.name, 'plugin-submission')
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/github-script@v8
17+
- uses: actions/github-script@v9
1818
with:
1919
script: |
2020
const body = context.payload.issue.body ?? '';

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
steps:
6666
- name: Checkout
67-
uses: actions/checkout@v6
67+
uses: actions/checkout@v7
6868
with:
6969
ref: ${{ github.event.pull_request.head.sha || github.ref }}
7070
fetch-depth: 0
@@ -157,15 +157,15 @@ jobs:
157157
158158
- name: Remove label
159159
if: ${{ github.event_name == 'pull_request_target' && contains(github.event.label.name, '🚀request-deploy') }}
160-
uses: actions/github-script@v8
160+
uses: actions/github-script@v9
161161
with:
162162
github-token: ${{ secrets.GITHUB_TOKEN }}
163163
script: |
164164
github.rest.issues.removeLabel({
165165
issue_number: context.issue.number,
166166
owner: context.repo.owner,
167167
repo: context.repo.repo,
168-
name: ['🚀request-deploy']
168+
name: '🚀request-deploy'
169169
})
170170
171171
# Comment on PR from the fork

contributing/plugins.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ npmPackages:
4343
| `description` | Yes | Short, one-sentence description |
4444
| `preview` | Yes | URL to a preview image, or `null` to auto-generate |
4545
| `website` | Yes | Public website or repository URL |
46-
| `source` | No | Source code URL (required for acceptance) |
46+
| `source` | No | Source code URL required if the plugin is open source, `null` or omitted if closed source |
4747
| `author` | No | Your GitHub username or organisation name |
4848
| `tags` | No | See [available tags](#tags) below |
4949
| `minimumVersion` | No | Minimum Docusaurus version, e.g. `3.0.0`, or `null` |

0 commit comments

Comments
 (0)