-
Notifications
You must be signed in to change notification settings - Fork 994
38 lines (34 loc) · 1 KB
/
check-changelog.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
name: 📝 Check changesets
on:
pull_request:
types:
[
opened,
synchronize,
reopened,
labeled,
unlabeled,
milestoned,
demilestoned,
]
# Cancel in-progress runs of this workflow.
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-changesets:
name: 📝 Check changesets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up job
uses: ./.github/actions/set-up-job
with:
set-up-yarn-cache: false
yarn-install-directory: ./.github/actions/check_changesets
build: false
- name: Check changesets
uses: ./.github/actions/check_changesets
with:
labels: '{ "labels": ${{ toJSON(github.event.pull_request.labels) }} }'