From 1e46c2386b608cf67c37d021c3db13611415426c Mon Sep 17 00:00:00 2001 From: Franco Cipollone Date: Mon, 16 Oct 2023 17:25:22 -0300 Subject: [PATCH] Updates CI. Signed-off-by: Franco Cipollone --- .github/workflows/build.yml | 9 +++++++++ .github/workflows/maliput_full.yml | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e9228d..f8fb93b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,11 @@ name: gcc on: push: + branches: + - main pull_request: + branches: + - main workflow_dispatch: schedule: - cron: '0 9 * * *' # 9:00am UTC, 1:00am PST. @@ -14,6 +18,11 @@ env: UBUNTU_NAME: focal UBUNTU_VERSION: 20.04 +# Cancel previously running PR jobs +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + jobs: compile_and_test: name: Compile and test diff --git a/.github/workflows/maliput_full.yml b/.github/workflows/maliput_full.yml index 597c10e..84caac8 100644 --- a/.github/workflows/maliput_full.yml +++ b/.github/workflows/maliput_full.yml @@ -2,6 +2,8 @@ name: maliput_full_build on: push: + branches: + - main pull_request: branches: - main @@ -13,6 +15,11 @@ env: PACKAGE_NAME: maliput_full ROS_DISTRO: foxy +# Cancel previously running PR jobs +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + jobs: compile_and_test: name: Build