-
Notifications
You must be signed in to change notification settings - Fork 18
40 lines (34 loc) · 846 Bytes
/
Copy pathpr.yml
File metadata and controls
40 lines (34 loc) · 846 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
31
32
33
34
35
36
37
38
39
40
name: Pull Request
on:
pull_request:
types:
- opened
- reopened
- synchronize
concurrency:
group: pr-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
issues: read
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/workflows/actions/turbo
- name: Build
run: pnpm build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC: ${{ secrets.CSC }}
BRAND_URL: ${{ vars.BRAND_URL }}
- name: Upload markdown artifacts
uses: actions/upload-artifact@v4
with:
name: build-markdown-pr-${{ github.run_id }}
path: |
build/docs/*.md
build/docs/**/*.md
if-no-files-found: error