generated from moul/golang-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (39 loc) · 1014 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, main ]
issue_comment:
types: [ edited ]
jobs:
preview:
name: Release-Notes Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.7.0
- run: |
git fetch --prune --unshallow --tags
- uses: snyk/release-notes-preview@v1.6.2
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@v2.7.0
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