File tree Expand file tree Collapse file tree 3 files changed +51
-0
lines changed
Expand file tree Collapse file tree 3 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : All checks pass
2+ on :
3+ pull_request :
4+
5+ jobs :
6+ allchecks :
7+ runs-on : ubuntu-latest
8+ permissions :
9+ checks : read
10+ contents : read
11+ steps :
12+ - uses : wechuli/allcheckspassed@v1
Original file line number Diff line number Diff line change 1+ name : DCO Check
2+ on : [pull_request]
3+
4+ jobs :
5+ dco_check_job :
6+ runs-on : ubuntu-latest
7+ name : DCO Check
8+ steps :
9+ - name : Get PR Commits
10+ uses : tim-actions/get-pr-commits@master
11+ id : ' get-pr-commits'
12+ with :
13+ token : ${{ secrets.GITHUB_TOKEN }}
14+ - name : DCO Check
15+ uses : tim-actions/dco@master
16+ with :
17+ commits : ${{ steps.get-pr-commits.outputs.commits }}
Original file line number Diff line number Diff line change 1+ name : lint
2+ on : [push, pull_request]
3+
4+ jobs :
5+ mdl :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v6
9+ - name : Run mdl
10+ uses : actionshub/markdownlint@main
11+ black :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v6
15+ - name : Set up Python
16+ uses : actions/setup-python@v4
17+ with :
18+ python-version : ' 3.x'
19+ - name : Install black
20+ run : pip install black
21+ - name : Run black
22+ run : black --check -l 80 .
You can’t perform that action at this time.
0 commit comments