Skip to content

Commit 9d447c8

Browse files
authored
Merge pull request #1068 from onekey-sec/merge-queue-linear-history-check
ci: Run linear history check only on pull requests
2 parents 9d1ba9d + 5018eb3 commit 9d447c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/check-mergeable.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66

77
jobs:
88
check_branch_history:
9+
# We need this job to be scheduled for merge groups as well, as it
10+
# is a required status check for merging, but we can safely skip
11+
# it...
12+
if: ${{ github.event_name == 'pull_request' }}
913
name: Check - Linear history
1014
runs-on: ubuntu-latest
1115
steps:

0 commit comments

Comments
 (0)