Skip to content

Commit 29f98b6

Browse files
committed
reporter: allow testing other repos
1 parent c41443e commit 29f98b6

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/reportBrokenPlugins.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ on:
1414
type: string
1515
description: "Webhook URL that the report will be posted to. This will be visible for everyone, so DO NOT pass sensitive webhooks like discord webhook. This is meant to be used by Venbot."
1616
required: false
17-
# schedule:
18-
# # Every day at midnight
19-
# - cron: 0 0 * * *
17+
repository:
18+
type: string
19+
description: Repository to test patches on
20+
required: false
21+
ref:
22+
type: string
23+
description: "Git reference to test patches on. This can be a branch, tag, or commit SHA."
24+
required: false
2025

2126
jobs:
2227
TestPlugins:
@@ -31,6 +36,9 @@ jobs:
3136

3237
- uses: actions/checkout@v7
3338
if: ${{ github.event_name == 'workflow_dispatch' }}
39+
with:
40+
ref: ${{ inputs.ref || github.ref }}
41+
repository: ${{ inputs.repository || github.repository }}
3442

3543
- uses: pnpm/action-setup@v6 # Install pnpm using packageManager key in package.json
3644

0 commit comments

Comments
 (0)