diff --git a/.github/config/repo_devs.json b/.github/config/repo_devs.json index 963240260..8b0bb97a8 100644 --- a/.github/config/repo_devs.json +++ b/.github/config/repo_devs.json @@ -13,6 +13,8 @@ "reecebrowne", "DarioGii", "ConnorYoh", - "EthanHealy01" + "EthanHealy01", + "jbrunton96", + "balazs-szucs" ] } diff --git a/.github/workflows/PR-Auto-Deploy-V2.yml b/.github/workflows/PR-Auto-Deploy-V2.yml index 8d9f837f6..9f30b372f 100644 --- a/.github/workflows/PR-Auto-Deploy-V2.yml +++ b/.github/workflows/PR-Auto-Deploy-V2.yml @@ -11,6 +11,10 @@ on: allow_fork: description: "Allow deploying fork PR?" required: false + type: choice + options: + - "true" + - "false" default: "false" permissions: @@ -42,7 +46,7 @@ jobs: script: | const { owner, repo } = context.repo; let prNumber = context.eventName === 'workflow_dispatch' - ? parseInt(process.env.INPUT_PR, 10) + ? parseInt(context.payload.inputs.pr, 10) : context.payload.number; if (!Number.isInteger(prNumber)) { core.setFailed('Invalid PR number'); return; }