From 36b57fa6f1d84a8ca209c452d169520f40eba32f Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Wed, 1 May 2024 18:56:42 +0100 Subject: [PATCH] Run CI job in merge queues Signed-off-by: Andrea Frittoli --- .github/workflows/ci.yml | 9 +++++---- .github/workflows/dco_merge_group.yaml | 10 ++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/dco_merge_group.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f175904..bd07542 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,11 +3,12 @@ name: CI on: pull_request: types: - - "opened" - - "synchronize" + - opened + - synchronize paths-ignore: - - "README.md" - - ".gitignore" + - README.md + - .gitignore + merge_group: jobs: lint: diff --git a/.github/workflows/dco_merge_group.yaml b/.github/workflows/dco_merge_group.yaml new file mode 100644 index 0000000..e00eec9 --- /dev/null +++ b/.github/workflows/dco_merge_group.yaml @@ -0,0 +1,10 @@ +name: DCO +on: + merge_group: + +jobs: + DCO: + runs-on: ubuntu-latest + if: ${{ github.actor != 'dependabot[bot]' }} + steps: + - run: echo "dummy DCO workflow (it won't run any check actually) to trigger by merge_group in order to enable merge queue" \ No newline at end of file