-
-
Notifications
You must be signed in to change notification settings - Fork 68
42 lines (39 loc) · 1000 Bytes
/
pr.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
40
41
42
name: PR
on:
#pull_request_target:
pull_request:
branches: [ master ]
issue_comment:
types: [ edited ]
jobs:
preview:
name: Release-Notes Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
git fetch --prune --unshallow --tags
- uses: snyk/[email protected]
with:
releaseBranch: master
env:
GITHUB_PR_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
doc:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
depth: 1
- uses: nosborn/github-action-markdown-cli@master
with:
files: .
config_file: ./tool/lint/.markdownlint.json
- uses: K-Phoen/action-misspell@master
with:
github_token: ${{ github.token }}
reporter: github-pr-review
locale: "US"
- name: alexjs
uses: theashraf/alex-action@master