From 98b059093265c268e78d067f02c3296c4af6948f Mon Sep 17 00:00:00 2001 From: Mathieu Gamache Date: Wed, 18 Dec 2024 13:01:36 -0500 Subject: [PATCH] [IDP-2744] Fix concurrency option to support renovate fallback (#32) * Update ci.yml * Add renovate --- .github/workflows/ci.yml | 5 +++-- renovate.json | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 renovate.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 113d696..f0cd5d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,13 +11,14 @@ on: env: CI: true +# Prevent duplicate runs if Renovate falls back to creating a PR concurrency: - group: ci-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} cancel-in-progress: true jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..9b89fd5 --- /dev/null +++ b/renovate.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "github>gsoft-inc/renovate-config", + "github>gsoft-inc/renovate-config:all-automerge.json" + ] +} \ No newline at end of file