[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: 426d07279d1a2b106918fbf662d4c64e169f1ef7 Pull Request resolved: https://github.com/facebook/react/pull/30498
Lauren Tan committed
Jul 29, 2024 at 12:28 UTC
03072a7a113b3f9554676f85ba4e9f77fddf3787
2 files changed
+2
-9
.github/workflows/runtime_prereleases.yml
+2
-5
@@ -1,7 +1,7 @@
1
name: (Runtime) Publish Prereleases
2
3
on:
4
- workflow_dispatch:
4
+ workflow_call:
5
inputs:
6
commit_sha:
7
required: true
@@ -9,10 +9,7 @@ on:
9
type: string
10
release_channel:
11
required: true
12
- type: choice
13
- options:
14
- - stable
15
- - experimental
12
+ type: string
13
dist_tag:
14
required: true
15
type: string
.github/workflows/runtime_prereleases_nightly.yml
-4
@@ -4,10 +4,6 @@ on:
4
schedule:
5
# At 10 minutes past 16:00 on Mon, Tue, Wed, Thu, and Fri
6
- cron: 10 16 * * 1,2,3,4,5
7
- workflow_dispatch:
8
- inputs:
9
- prerelease_commit_sha:
10
- required: false
7
8
env:
9
TZ: /usr/share/zoneinfo/America/Los_Angeles