-
-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (35 loc) · 1.11 KB
/
pull-request.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: Pull Request
on:
pull_request:
types: [opened, reopened, edited, synchronize]
branches: [main]
# allow workflow to be called from github.com UI
workflow_dispatch:
# push:
# # This should disable running the workflow on tags
# branches: [main]
# tags-ignore:
# - '**'
concurrency:
group: pr-${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
jobs:
compliance:
name: 👌 Compliance
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🖍️ Lint pull request title
uses: cocogitto/cocogitto-action@main
with:
verify: ${{ github.event.pull_request.title }}
# - name: 🦋 Check changeset status
# run: pnpm exec changeset status --since origin/main
checks:
name: 💯 Checks
concurrency:
group: checks-${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
cancel-in-progress: true
uses: './.github/workflows/checks.yml'