From a6657cfb8c0cb6b278e91a4bf28c45448ea68ff3 Mon Sep 17 00:00:00 2001 From: Mingzhe Zou Date: Mon, 23 Dec 2024 00:34:18 +0800 Subject: [PATCH 1/2] workflows: update triggers --- .github/workflows/transport.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/transport.yml b/.github/workflows/transport.yml index 1f5d470..3edd523 100644 --- a/.github/workflows/transport.yml +++ b/.github/workflows/transport.yml @@ -4,12 +4,16 @@ name: Transport Actuator # Controls when the workflow will run on: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + # Triggers the workflow every day schedule: - cron: "15 8,20 * * *" # every day at (UTC) 08:15 and 20:15 - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: + # Triggers the workflow on push events but only for the "master" branch + pull_request_review: + branches: ["master"] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: From ac94200fdbbb26d88ebb907e08b98194f29e94c7 Mon Sep 17 00:00:00 2001 From: Mingzhe Zou Date: Mon, 23 Dec 2024 01:06:40 +0800 Subject: [PATCH 2/2] workflows: add triggers --- .github/workflows/transport.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/transport.yml b/.github/workflows/transport.yml index 3edd523..8268a1b 100644 --- a/.github/workflows/transport.yml +++ b/.github/workflows/transport.yml @@ -15,6 +15,9 @@ on: pull_request_review: branches: ["master"] + push: + branches: ["master"] + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "transport"