File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Checks
2+
3+ on :
4+ workflow_call :
5+ secrets :
6+ gitleaks :
7+ required : true
8+
9+ jobs :
10+ yamllint :
11+ name : Linter
12+ runs-on : ${{ vars.RUNS_ON }}
13+ steps :
14+ - name : Invoke
15+ uses : Mad-Pixels/github-workflows/actions/taskfile-runner@main
16+ with :
17+ command : yamllint
18+
19+ leaks :
20+ name : GitLeaks
21+ runs-on : ${{ vars.RUNS_ON }}
22+ steps :
23+ - uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0
26+ - uses : gitleaks/gitleaks-action@v2
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ GITLEAKS_LICENSE : ${{ secrets.gitleaks }}
Original file line number Diff line number Diff line change 1+ name : Base commit
2+
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
7+
8+ concurrency :
9+ group : base-commit-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ checks :
14+ name : (Base) Commit Checks
15+ uses : ./.github/workflows/.checks.yml
16+ secrets :
17+ gitleaks : ${{ secrets.GITLEAKS_LICENSE }}
18+
19+ commit-check :
20+ name : (Base) Commit Check
21+ needs : checks
22+ runs-on : ${{ vars.RUNS_ON }}
23+ steps :
24+ - name : All checks passed
25+ run : |
26+ echo "✅ All Commit checks completed successfully!"
You can’t perform that action at this time.
0 commit comments