Skip to content

Commit 0aa327f

Browse files
committed
Lint action files
1 parent 320be10 commit 0aa327f

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

.github/workflows/codeql-analysis.yml

+18-19
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2+
23
name: "CodeQL"
34

45
on:
56
push:
6-
branches: [ main ]
7+
branches: [main]
78
pull_request:
89
# The branches below must be a subset of the branches above
9-
branches: [ main ]
10+
branches: [main]
1011
schedule:
1112
- cron: '20 11 * * 1'
1213

@@ -22,22 +23,20 @@ jobs:
2223
strategy:
2324
fail-fast: false
2425
matrix:
25-
language: [ 'python' ]
26+
language: ['python']
2627

2728
steps:
28-
- name: Checkout repository
29-
uses: actions/checkout@v3
30-
31-
# Initializes the CodeQL tools for scanning.
32-
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v1
34-
with:
35-
languages: ${{ matrix.language }}
36-
37-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
38-
# If this step fails, then you should remove it and run the build manually (see below)
39-
- name: Autobuild
40-
uses: github/codeql-action/autobuild@v1
41-
42-
- name: Perform CodeQL Analysis
43-
uses: github/codeql-action/analyze@v1
29+
- name: Checkout repository
30+
uses: actions/checkout@v3
31+
32+
- name: Initialize CodeQL
33+
uses: github/codeql-action/init@v1
34+
with:
35+
languages: ${{ matrix.language }}
36+
37+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
38+
- name: Autobuild
39+
uses: github/codeql-action/autobuild@v1
40+
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v1

.github/workflows/lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
name: Linting
24
on: [pull_request]
35

0 commit comments

Comments
 (0)