This repository was archived by the owner on Jun 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +179
-0
lines changed
Expand file tree Collapse file tree 6 files changed +179
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : CLA Assistant
3+ on :
4+ issue_comment :
5+ types : [created]
6+ pull_request_target :
7+ types : [opened, closed, synchronize]
8+
9+ permissions :
10+ actions : write
11+ contents : read
12+ pull-requests : write
13+ statuses : write
14+
15+ jobs :
16+ CLAAssistant :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : " CLA Assistant"
20+ if : (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
21+ uses : contributor-assistant/github-action@v2.6.1
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_ACCESS_TOKEN }}
25+ with :
26+ path-to-signatures : ' signatures/version1/cla.json'
27+ path-to-document : ' https://github.com/Netcracker/qubership-github-workflows/blob/main/CLA/cla.md'
28+ # branch should not be protected
29+ branch : ' main'
30+ allowlist : NetcrackerCLPLCI,web-flow,bot*
31+ remote-repository-name : cla-storage
32+ remote-organization-name : Netcracker
Original file line number Diff line number Diff line change 1+ ---
2+ name : Link Checker
3+
4+ on :
5+ push : null
6+ repository_dispatch : null
7+ workflow_dispatch : null
8+
9+ jobs :
10+ linkChecker :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Link Checker
16+ id : lychee
17+ uses : lycheeverse/lychee-action@v2
18+ with :
19+ args : --base . --verbose --no-progress './**/*.md' --accept 100..=103,200..=299,429
20+ format : markdown
21+ fail : true
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : Conventional Commits PR Check
4+
5+ on :
6+ pull_request :
7+ types :
8+ - opened
9+ - edited
10+ - synchronize
11+
12+ permissions :
13+ pull-requests : read
14+ jobs :
15+ build :
16+ name : Conventional Commits
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - uses : webiny/action-conventional-commits@v1.3.0
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : " Lint PR Title"
4+
5+ on :
6+ pull_request :
7+ types :
8+ - opened
9+ - edited
10+ - synchronize
11+ - reopened
12+
13+ permissions :
14+ pull-requests : read
15+
16+ jobs :
17+ main :
18+ name : Validate PR title
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : amannn/action-semantic-pull-request@v5
22+ env :
23+ GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1+ ---
2+ name : Profanity filter
3+
4+ on :
5+ issue_comment :
6+ types : [created, edited]
7+ issues :
8+ types : [opened, edited, reopened]
9+ pull_request :
10+ types : [opened, edited, reopened]
11+
12+ permissions :
13+ issues : write
14+ pull-requests : write
15+
16+ jobs :
17+ apply-filter :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Scan issue or pull request for profanity
21+ # Conditionally run the step if the actor isn't a bot
22+ if : ${{ github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }}
23+ uses : IEvangelist/profanity-filter@9.07
24+ id : profanity-filter
25+ with :
26+ token : ${{ secrets.GITHUB_TOKEN }}
27+ # See https://bit.ly/potty-mouth-replacement-strategies
28+ replacement-strategy : middle-asterisk # See Replacement strategy
29+ custom-profane-words-url : https://github.com/Hesham-Elbadawi/list-of-banned-words/raw/refs/heads/master/ru
Original file line number Diff line number Diff line change 1+ ---
2+ # This workflow executes several linters on changed files based on languages used in your code base whenever
3+ # you push a code or open a pull request.
4+ #
5+ # You can adjust the behavior by modifying this file.
6+ # For more information, see:
7+ # https://github.com/super-linter/super-linter
8+ # Configuration file for super-linter example:
9+ # .github/super-linter.env
10+ # Configuration files for individual linters should be placed in .github/linters
11+
12+ name : Lint Code Base
13+
14+ on :
15+ push :
16+ branches :
17+ - ' **'
18+ pull_request :
19+ branches :
20+ - ' **'
21+ workflow_dispatch :
22+ inputs :
23+ full_scan :
24+ type : boolean
25+ default : false
26+ required : false
27+ description : " Lint all codebase"
28+ permissions :
29+ contents : read
30+
31+ jobs :
32+ run-lint :
33+ runs-on : ubuntu-latest
34+ steps :
35+ - name : Checkout code
36+ uses : actions/checkout@v4
37+ with :
38+ # Full git history is needed to get a proper list of changed files within `super-linter`
39+ fetch-depth : 0
40+
41+ - name : " Load super-linter environment file"
42+ run : |
43+ # shellcheck disable=2086
44+ if [ -f "./.github/super-linter.env" ]; then
45+ grep "\S" ./.github/super-linter.env | grep -v "^#"
46+ grep "\S" ./.github/super-linter.env | grep -v "^#" >> $GITHUB_ENV
47+ fi
48+
49+ - name : Lint Code Base
50+ uses : super-linter/super-linter@v7
51+ env :
52+ VALIDATE_ALL_CODEBASE : ${{ inputs.full_scan || false }}
53+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments