From dcbfb0c75e921da67171c96a9dbe8c41e3715a0d Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 22 Nov 2023 10:26:22 -0800 Subject: [PATCH] Fix repository_dispatch syntax (#56499) --- .github/workflows/new-release-branch.yaml | 2 +- .github/workflows/nightly.yaml | 2 +- .github/workflows/set-version.yaml | 2 +- .github/workflows/sync-branch.yaml | 2 +- .github/workflows/twoslash-repros.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/new-release-branch.yaml b/.github/workflows/new-release-branch.yaml index d2c17b9d46f..fd38d8bf1d2 100644 --- a/.github/workflows/new-release-branch.yaml +++ b/.github/workflows/new-release-branch.yaml @@ -2,7 +2,7 @@ name: New Release Branch on: repository_dispatch: - types: new-release-branch + types: [new-release-branch] permissions: contents: read diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 6cc20f13323..00664d82cbb 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -6,7 +6,7 @@ on: # enable users to manually trigger with workflow_dispatch workflow_dispatch: {} repository_dispatch: - types: publish-nightly + types: [publish-nightly] permissions: contents: read diff --git a/.github/workflows/set-version.yaml b/.github/workflows/set-version.yaml index 7e1c8bf673f..11d57994f3d 100644 --- a/.github/workflows/set-version.yaml +++ b/.github/workflows/set-version.yaml @@ -2,7 +2,7 @@ name: Set branch version on: repository_dispatch: - types: set-version + types: [set-version] permissions: contents: read diff --git a/.github/workflows/sync-branch.yaml b/.github/workflows/sync-branch.yaml index ab2ad9b94a8..3a40e9b9a97 100644 --- a/.github/workflows/sync-branch.yaml +++ b/.github/workflows/sync-branch.yaml @@ -2,7 +2,7 @@ name: Sync branch with master on: repository_dispatch: - types: sync-branch + types: [sync-branch] workflow_dispatch: inputs: branch_name: diff --git a/.github/workflows/twoslash-repros.yaml b/.github/workflows/twoslash-repros.yaml index 589fb16847b..bafe8950f34 100644 --- a/.github/workflows/twoslash-repros.yaml +++ b/.github/workflows/twoslash-repros.yaml @@ -7,7 +7,7 @@ on: schedule: - cron: '0 8 * * *' repository_dispatch: - types: run-twoslash-repros + types: [run-twoslash-repros] workflow_dispatch: inputs: issue: