Skip to content

Commit

Permalink
Merge pull request #1078 from NordSecurity/jj_merge_queue
Browse files Browse the repository at this point in the history
Enable merge queue in our workflows
  • Loading branch information
jjanowsk authored Jan 27, 2025
2 parents 80a1f1e + 36a680f commit 3d8bc7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: CI
on: [push, pull_request]
on:
push:
pull_request:
merge_group:
types: [checks_requested]

permissions: {}

jobs:
trigger:
if: |
github.event_name == 'push' ||
github.event_name == 'merge_group' ||
(
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gitlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
pull_request_target:
types: [labeled]
push:
merge_group:
types: [checks_requested]
schedule:
# Avoid running on 0 since a lot of other workflows on github start at that
# time and this can cause delays or even dropping of jobs:
Expand Down
Empty file added .unreleased/merge_queue
Empty file.

0 comments on commit 3d8bc7e

Please sign in to comment.