forked from ravendb/ravendb
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 1.19 KB
/
conventions.yml
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
31
32
33
34
35
36
37
38
39
name: conventions
on:
pull_request
jobs:
claSigned:
name: CLA Signed
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: CLA Signed test
env:
CLA_SIGNED_URL: http://api.web.ravendb.net/api/v1/contributors/cla/signed?pullRequestId=
ghprNumber: ${{ github.event.pull_request.number }}
if: github.event.pull_request.base.repo.owner.login == 'ravendb' && github.event.repository.name == 'ravendb'
run: ./scripts/githubActions/claSigned.ps1
conventions:
name: Commit Conventions
runs-on: windows-latest
strategy:
fail-fast: false
env:
githubOwner: ${{github.event.pull_request.base.repo.owner.login}}
repoName: ${{github.event.repository.name}}
label: ${{github.event.pull_request.base.ref}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ghprNumber: ${{ github.event.pull_request.number }}
steps:
- uses: actions/checkout@v4
- name: Commit Message Conventions
run: ./scripts/githubActions/commitMessageConventions.ps1
- name: Commit Whitespace Conventions
if: always()
run: ./scripts/githubActions/commitWhitespaceConventions.ps1