This repository was archived by the owner on Jun 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +156
-0
lines changed
Expand file tree Collapse file tree 7 files changed +156
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ # The workflow template for automatic PR labeler.
4+ # It requires to have a configuration file with labels and conditions to apply them.
5+ # The configuration file should be placed in the .github folder and named auto-labeler-config.yaml.
6+ # Example file can be found there:
7+ # https://github.com/Netcracker/qubership-workflow-hub/blob/main/docs/examples/auto-labeler-config.yaml
8+
9+ name : Automatic PR Labeler
10+
11+ on :
12+ pull_request_target :
13+ branches : [main]
14+ types :
15+ [opened, reopened, synchronize]
16+
17+ jobs :
18+ assign-labels :
19+ uses : Netcracker/qubership-workflow-hub/.github/workflows/auto-labeler.yaml@main
20+ name : Assign labels in pull request
21+ if : github.event.pull_request.merged == false
22+ with :
23+ pull_request_number : ${{ github.event.pull_request.number }}
24+ config_file : ' ./.github/auto-labeler-config.yaml'
Original file line number Diff line number Diff line change 1+ ---
2+
3+ # The workflow will generate the SBOM file for the repository
4+ # and vulerability scan report for the SBOM file using CycloneDX
5+ # The workflow will run on push to main branch and manually triggered workflows
6+ # The results will be stored in the action artifacts
7+
8+ name : ' CDXGen'
9+ on :
10+ workflow_dispatch :
11+ push :
12+ branches :
13+ - ' main'
14+
15+ jobs :
16+ cdxgen :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : " cdxgen"
20+ uses : netcracker/qubership-workflow-hub/actions/cdxgen@main
21+ deploy-pages :
22+ permissions :
23+ id-token : write
24+ pages : write
25+ environment :
26+ name : github-pages
27+ url : ${{ steps.deployment.outputs.page_url }}
28+ runs-on : ubuntu-latest
29+ needs : cdxgen
30+ steps :
31+ - name : Deploy to GitHub Pages
32+ id : deployment
33+ uses : actions/deploy-pages@v4
34+ - name : " Summary"
35+ run : |
36+ echo "${{ steps.deployment.outputs.page_url }}cyclondx-report" >> $GITHUB_STEP_SUMMARY
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+ cla_assistant :
17+ uses : Netcracker/qubership-workflow-hub/.github/workflows/cla.yaml@main
18+ secrets :
19+ personal_access_token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : " Add commit messages to PR body"
4+
5+ on :
6+ pull_request :
7+ types : [opened, synchronize]
8+
9+ permissions :
10+ pull-requests : write
11+
12+ jobs :
13+ update-pr-body :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : " Update PR body"
17+ uses : netcracker/qubership-workflow-hub/actions/pr-add-messages@main
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : Conventional Commits PR Check
4+
5+ on :
6+ pull_request_target :
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_target :
7+ types :
8+ - opened
9+ - edited
10+
11+ permissions :
12+ pull-requests : read
13+
14+ jobs :
15+ main :
16+ name : Validate PR title
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : amannn/action-semantic-pull-request@v5
20+ env :
21+ 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_target :
10+ types : [opened, edited, reopened]
11+
12+ permissions :
13+ issues : write
14+ pull-requests : write
15+
16+ jobs :
17+ call-apply-filter :
18+ uses : Netcracker/qubership-workflow-hub/.github/workflows/profanityFilter.yaml@main
You can’t perform that action at this time.
0 commit comments