generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 14
38 lines (36 loc) · 1.08 KB
/
fork.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: build-fork
on: # Rebuild any PRs submitted by forks
pull_request:
jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ⬇️ lint markdown files
uses: avto-dev/markdown-lint@v1
with:
config: '.markdownlint.json'
args: '**/*.md .github/**/*.md'
lint-renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 🧼 lint renovate config
uses: suzuki-shunsuke/[email protected]
with:
config_file_path: renovate.json
build-fork:
if: ${{ github.event.pull_request.head.repo.fork }}
runs-on: ubuntu-latest
env:
INPUT_TOKEN: ${{ secrets.ACCESS_TOKEN }}
INPUT_OWNER: tremor-rs
INPUT_REPO: tremor-runtime
INPUT_USER: lhasa-ospo
INPUT_CHECKUSER: false
INPUT_PROMOTEUSER: false
INPUT_LICENSEALLOWLIST: "0bsd\napache-2.0\nbsd-2-clause\nbsd-3-clause\nmit"
steps:
- uses: actions/checkout@v4
- name: "🛠 build + test npm"
run: npm run fork