File tree Expand file tree Collapse file tree 7 files changed +105
-0
lines changed
Expand file tree Collapse file tree 7 files changed +105
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Check file format"
2+ description : " Check file format"
3+ runs :
4+ using : " composite"
5+ steps :
6+ - name : " Check file format"
7+ shell : bash
8+ run : |
9+ export BRANCH_NAME=origin/${{ github.event.repository.default_branch }}
10+ check=branch ./scripts/githooks/check-file-format.sh
Original file line number Diff line number Diff line change 1+ name : " Check Markdown format"
2+ description : " Check Markdown format"
3+ runs :
4+ using : " composite"
5+ steps :
6+ - name : " Check Markdown format"
7+ shell : bash
8+ run : |
9+ export BRANCH_NAME=origin/${{ github.event.repository.default_branch }}
10+ check=branch ./scripts/githooks/check-markdown-format.sh
Original file line number Diff line number Diff line change 1+ name : " Check Markdown links"
2+ description : " Check Markdown links"
3+ runs :
4+ using : " composite"
5+ steps :
6+ - name : " Check Markdown links"
7+ shell : bash
8+ run : |
9+ export BRANCH_NAME=origin/${{ github.event.repository.default_branch }}
10+ check=branch ./scripts/githooks/check-markdown-links.sh
Original file line number Diff line number Diff line change 1+ name : " Scan secrets"
2+ description : " Scan secrets"
3+ runs :
4+ using : " composite"
5+ steps :
6+ - name : " Scan secrets"
7+ shell : bash
8+ run : |
9+ # Please do not change this `check=whole-history` setting, as new patterns may be added or history may be rewritten.
10+ check=whole-history ./scripts/githooks/scan-secrets.sh
Original file line number Diff line number Diff line change 1+ name : " CI/CD pull request"
2+
3+ on :
4+ push :
5+ branches :
6+ - " **"
7+ pull_request :
8+ types : [opened, reopened, synchronize]
9+
10+ jobs :
11+ commit-stage :
12+ name : " Commit stage"
13+ uses : ./.github/workflows/stage-1-commit.yaml
14+ secrets : inherit
Original file line number Diff line number Diff line change 1+ name : " Commit stage"
2+
3+ on :
4+ workflow_call :
5+
6+ jobs :
7+ scan-secrets :
8+ name : " Scan secrets"
9+ runs-on : ubuntu-latest
10+ timeout-minutes : 2
11+ steps :
12+ - name : " Checkout code"
13+ uses : actions/checkout@v6
14+ with :
15+ fetch-depth : 0 # Full history is needed to scan all commits
16+ - name : " Scan secrets"
17+ uses : ./.github/actions/scan-secrets
18+ check-file-format :
19+ name : " Check file format"
20+ runs-on : ubuntu-latest
21+ timeout-minutes : 2
22+ steps :
23+ - name : " Checkout code"
24+ uses : actions/checkout@v6
25+ with :
26+ fetch-depth : 0 # Full history is needed to compare branches
27+ - name : " Check file format"
28+ uses : ./.github/actions/check-file-format
29+ check-markdown-format :
30+ name : " Check Markdown format"
31+ runs-on : ubuntu-latest
32+ timeout-minutes : 2
33+ steps :
34+ - name : " Checkout code"
35+ uses : actions/checkout@v6
36+ with :
37+ fetch-depth : 0 # Full history is needed to compare branches
38+ - name : " Check Markdown format"
39+ uses : ./.github/actions/check-markdown-format
40+ check-markdown-links :
41+ name : " Check Markdown links"
42+ runs-on : ubuntu-latest
43+ timeout-minutes : 2
44+ steps :
45+ - name : " Checkout code"
46+ uses : actions/checkout@v6
47+ with :
48+ fetch-depth : 0 # Full history is needed to compare branches
49+ - name : " Check Markdown links"
50+ uses : ./.github/actions/check-markdown-links
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ config:: # Configure development environment (main) @Configuration
7272${VERBOSE}.SILENT : \
7373 apply \
7474 clean \
75+ clone-rt \
7576 config \
7677 count-tokens \
7778 format \
You can’t perform that action at this time.
0 commit comments