[ci] Fix prereleases reusable workflow

Turns out I had configured the reusable workflow with the wrong `on`
command.

Also removes the workflow_dispatch config from the nightly workflow as
that was not meant to be triggered manually.

ghstack-source-id: 426d07279d
Pull Request resolved: https://github.com/facebook/react/pull/30498
This commit is contained in:
Lauren Tan
2024-07-29 12:28:10 -04:00
parent a6b5ed01ae
commit 03072a7a11
2 changed files with 2 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
name: (Runtime) Publish Prereleases
on:
workflow_dispatch:
workflow_call:
inputs:
commit_sha:
required: true
@@ -9,10 +9,7 @@ on:
type: string
release_channel:
required: true
type: choice
options:
- stable
- experimental
type: string
dist_tag:
required: true
type: string

View File

@@ -4,10 +4,6 @@ on:
schedule:
# At 10 minutes past 16:00 on Mon, Tue, Wed, Thu, and Fri
- cron: 10 16 * * 1,2,3,4,5
workflow_dispatch:
inputs:
prerelease_commit_sha:
required: false
env:
TZ: /usr/share/zoneinfo/America/Los_Angeles