-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (30 loc) · 1.01 KB
/
check-changesets.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
name: 📝 Check changesets
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
# 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
env:
YARN_ENABLE_HARDENED_MODE: 0
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/scripts
build: false
- name: Check changesets
working-directory: .github/scripts
# This is to get colors in the output.
# See https://github.com/chalk/supports-color/issues/106.
env:
FORCE_COLOR: 2
run: yarn tsx checkChangesets.mts