Skip to content

Commit aab9237

Browse files
committed
🔄 created local '.github/workflows/' from remote 'workflows/code-quality/'
1 parent cb214c3 commit aab9237

File tree

3 files changed

+59
-0
lines changed

3 files changed

+59
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# .github/workflows/codeql.yml
2+
name: CodeQL Analysis
3+
4+
on:
5+
push:
6+
branches: [ main, master ]
7+
pull_request:
8+
branches: [ main, master ]
9+
schedule:
10+
- cron: '0 0 * * 0'
11+
12+
jobs:
13+
analyze:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
security-events: write
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Initialize CodeQL
21+
uses: github/codeql-action/init@v2
22+
with:
23+
languages: python
24+
- name: Perform CodeQL Analysis
25+
uses: github/codeql-action/analyze@v2
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Dependabot PR CI
2+
on:
3+
schedule:
4+
- cron: "0 */6 * * *" # Every six hours
5+
workflow_dispatch:
6+
jobs:
7+
auto-merge:
8+
name: Auto Merge
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Merge minor/patch updates
12+
uses: koj-co/dependabot-pr-action@master
13+
with:
14+
token: ${{ secrets.GH_PAT }}
15+
merge-minor: true
16+
merge-patch: true
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# .github/workflows/pre-commit.yml
2+
name: Pre-commit Checks
3+
4+
on:
5+
pull_request:
6+
push:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
pre-commit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.x'
17+
cache: 'pip'
18+
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)