-
Notifications
You must be signed in to change notification settings - Fork 7
50 lines (40 loc) · 1.24 KB
/
PR-verify.yml
File metadata and controls
50 lines (40 loc) · 1.24 KB
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
43
44
45
46
47
48
49
50
name: Pull Request verification
permissions:
contents: read
on:
pull_request:
workflow_dispatch:
env:
NODE_VERSION: "20"
jobs:
repo-linter:
name: Repo Linter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Node version
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Execute Repo Linter
run: |
echo "Installing Repo Linter"
npm install -g repolinter@v0.11.2
echo "Executing Repo Linter"
repolinter --rulesetFile repolinter.json --dryRun .
echo "Repo Linter execution completed"
reuse-compliance:
name: REUSE Compliance
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: REUSE Compliance Check
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5