File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 commit-lint :
1616 runs-on : ubuntu-latest
1717 steps :
18+ <<<<<<< HEAD
1819 - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1920 with :
2021 fetch-depth : 0
3940 ci
4041 revert
4142 BREAKING
43+ =======
44+ - name : Checkout PR commits
45+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
46+ with :
47+ fetch-depth : 0
48+ ref : ${{ github.event.pull_request.head.sha }}
49+
50+ - name : Lint Commits
51+ uses : wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6
52+
53+ - name : Lint Pull Request
54+ uses : amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
55+ env :
56+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57+ with :
58+ types : |
59+ feat
60+ fix
61+ docs
62+ style
63+ refactor
64+ perf
65+ test
66+ chore
67+ vendor
68+ build
69+ ci
70+ revert
71+ BREAKING
72+ >>>>>>> 4c45ba1 (chore: pin GH actions to commit sha)
Original file line number Diff line number Diff line change 1+ name : fossa
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - v*
7+ tags :
8+ - v*
9+ pull_request :
10+ branches :
11+ - master
12+ - v*
13+ workflow_dispatch : {}
14+
15+ permissions : {}
16+
17+ jobs :
18+ fossa-scan :
19+ if : github.repository == 'longhorn/longhorn-share-manager' # FOSSA is not intended to run on forks.
20+ runs-on : ubuntu-latest
21+ permissions :
22+ contents : read
23+ env :
24+ FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
25+ steps :
26+ - name : " Checkout code"
27+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
28+
29+ - name : " Run FOSSA Scan"
30+ uses : fossas/fossa-action@c414b9ad82eaad041e47a7cf62a4f02411f427a0 # v1.8.0 # Use a specific version if locking is preferred
31+ with :
32+ api-key : ${{ secrets.FOSSA_API_KEY }}
33+ project : longhorn-share-manager
You can’t perform that action at this time.
0 commit comments