Debian Codegraph @

.github/workflows/forbid-merge-commits.yaml

raw symbols SCIP
1 # Copyright 2025 The go-yaml Project Contributors
2 # SPDX-License-Identifier: Apache-2.0
3
4 name: Forbid Merge Commits
5
6 on:
7 pull_request:
8 types: [opened, synchronize, reopened, ready_for_review]
9
10 permissions: read-all
11
12 jobs:
13 forbid-merge-commits:
14 runs-on: ubuntu-latest
15
16 steps:
17 - name: Run Forbid Merge Commits Action
18 # yamllint disable-line rule:line-length
19 uses: motlin/forbid-merge-commits-action@d508a7b3148cc98b51a5f062d60396f09f5bc269 # v1.0.7
20 with:
21 fail-on-merge-commits: true