forked from BlueWallet/BlueWallet
-
Notifications
You must be signed in to change notification settings - Fork 6
30 lines (26 loc) · 906 Bytes
/
pull-request.yml
File metadata and controls
30 lines (26 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "Lint PR"
on:
push:
branches: [ $default-branch, $protected-branches, main, develop, stage ]
pull_request:
# The branches below must be a subset of the branches above
branches: [$default-branch, main, develop, stage]
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3.4.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
wip: true
# When using "Squash and merge" on a PR with only one commit, GitHub
# will suggest using that commit message instead of the PR title for the
# merge commit, and it's easy to commit this by mistake. Enable this option
# to also validate the commit message for one commit PRs.
validateSingleCommit: true