From dbc76ec806748f787140e1b6e93097ef5ecf709d Mon Sep 17 00:00:00 2001 From: nuomi1 Date: Tue, 24 Oct 2023 23:08:15 +0800 Subject: [PATCH] Add workflow_dispatch to Swift, Python and C# CI Check (#882) * Update swift.yml * Update dotnet.yml * Update python.yml --------- Co-authored-by: Yudong Jin --- .github/workflows/dotnet.yml | 3 ++- .github/workflows/python.yml | 1 + .github/workflows/swift.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index bc3f593e54..e43e4ba04a 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -10,6 +10,7 @@ on: pull_request: branches: [ "main" ] paths: ["codes/csharp/**/*.cs"] + workflow_dispatch: jobs: build: @@ -35,4 +36,4 @@ jobs: - name: Build run: dotnet build --no-restore hello-algo.csproj - name: Test with dotnet - run: dotnet test hello-algo.csproj \ No newline at end of file + run: dotnet test hello-algo.csproj diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index f77c7d60c0..1da864fa6d 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -10,6 +10,7 @@ on: pull_request: branches: ["main"] paths: ["codes/python/**/*.py"] + workflow_dispatch: permissions: contents: read diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 5ecacc2bc6..b9c88b5f09 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -10,6 +10,7 @@ on: pull_request: branches: ["main"] paths: ["codes/swift/**/*.swift"] + workflow_dispatch: jobs: build: