Skip to content

Commit 47fecfe

Browse files
committed
Added GitLeaks scan for secrets and EditorConfig Checker
1 parent 535ef95 commit 47fecfe

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Flask App GitHub Actions Pipeline
2+
run-name: ${{ github.actor }} workflow that triggers on push to a feature branch and perform check on a Flask app repo
3+
4+
on:
5+
push:
6+
branches:
7+
- feature/M1-4-2-CI-Practice
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
scan:
14+
name: GitLeaks scan for secrets
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- uses: gitleaks/gitleaks-action@v2
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
24+
editorconfig:
25+
name: EditorConfig Checker
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: editorconfig-checker/action-editorconfig-checker@main
30+
- run: editorconfig-checker

0 commit comments

Comments
 (0)