File tree Expand file tree Collapse file tree 4 files changed +53
-40
lines changed Expand file tree Collapse file tree 4 files changed +53
-40
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ exclude_patterns = [
23
23
" codecov_env" ,
24
24
" *,cover" ,
25
25
" .hypothesis/" ,
26
- " docs/"
26
+ " docs/conf.py "
27
27
]
28
28
29
29
[[analyzers ]]
Original file line number Diff line number Diff line change 1
- # Add 'Multicast' label to any root file changes
2
- Multicast :
3
- - setup.py
4
- - multicast/*.py
1
+ # Add 'Python Repo' label to any root file changes
2
+ Python Repo :
3
+ - changed-files :
4
+ - any-glob-to-any-file :
5
+ - setup.py
6
+ - pythonrepo/*.py
5
7
6
8
# Add 'Lint' label to any lint file changes
7
9
Linter :
8
- - .stickler.yml
9
- - .hound.yml
10
- - .yamllint.conf
11
- - .flake8.ini
12
- - .deepsource.toml
13
- - tests/check_*
10
+ - changed-files :
11
+ - any-glob-to-any-file :
12
+ - .stickler.yml
13
+ - .hound.yml
14
+ - .yamllint.conf
15
+ - .flake8.ini
16
+ - .deepsource.toml
17
+ - tests/check_*
14
18
15
19
# Add 'Lang' label to any python file changes
16
20
Python Lang :
17
- - **/*.py
18
- - *.py
21
+ - changed-files :
22
+ - any-glob-to-any-file :
23
+ - ' **/*.py'
24
+ - ' *.py'
19
25
20
26
Configs :
21
- - *.yml
22
- - ./**/*.yml
23
- - *.ini
24
- - *.toml
25
- - *.cfg
26
- - requirements.txt
27
+ - changed-files :
28
+ - any-glob-to-any-file :
29
+ - ' *.yml'
30
+ - ./**/*.yml
31
+ - ' *.ini'
32
+ - ' *.toml'
33
+ - ' *.cfg'
34
+ - requirements.txt
27
35
28
36
# Add 'test' label
29
37
Testing :
30
- - tests/**/*.py
31
- - tests/*
32
- - .circleci/*
38
+ - changed-files :
39
+ - any-glob-to-any-file :
40
+ - tests/**/*.py
41
+ - tests/*
42
+ - .circleci/*
33
43
34
44
CI :
35
- - tests/*.py
36
- - .stickler.yml
37
- - .hound.yml
38
- - .travis.yml
39
- - .appveyor.yml
40
- - .github/workflows/*
41
- - .circleci/*
45
+ - changed-files :
46
+ - any-glob-to-any-file :
47
+ - tests/*.py
48
+ - .stickler.yml
49
+ - .hound.yml
50
+ - .travis.yml
51
+ - .appveyor.yml
52
+ - .github/workflows/*
53
+ - .circleci/*
42
54
43
55
Github :
44
- - .github/**/*
45
- - .github/*
46
- - README.md
56
+ - changed-files :
57
+ - any-glob-to-any-file :
58
+ - .github/**/*
59
+ - .github/*
60
+ - README.md
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ jobs:
38
38
39
39
steps :
40
40
- name : Checkout repository
41
- uses : actions/checkout@v2
41
+ uses : actions/checkout@v4
42
42
43
43
# Initializes the CodeQL tools for scanning.
44
44
- name : Initialize CodeQL
45
- uses : github/codeql-action/init@v1
45
+ uses : github/codeql-action/init@v3
46
46
with :
47
47
languages : ${{ matrix.language }}
48
48
# If you wish to specify custom queries, you can do so here or in a config file.
53
53
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
54
# If this step fails, then you should remove it and run the build manually (see below)
55
55
- name : Autobuild
56
- uses : github/codeql-action/autobuild@v1
56
+ uses : github/codeql-action/autobuild@v3
57
57
58
58
# ℹ️ Command-line programs to run using the OS shell.
59
59
# 📚 https://git.io/JvXDl
67
67
# make release
68
68
69
69
- name : Perform CodeQL Analysis
70
- uses : github/codeql-action/analyze@v1
70
+ uses : github/codeql-action/analyze@v3
Original file line number Diff line number Diff line change 12
12
schedule :
13
13
- cron : ' 18 9 * * 5'
14
14
push :
15
- branches : [ " master" ]
15
+ branches : [ master ]
16
16
17
17
# Declare default permissions as read only.
18
18
permissions : read-all
27
27
# Needed to publish results and get a badge (see publish_results below).
28
28
id-token : write
29
29
# Uncomment the permissions below if installing in a private repository.
30
- # contents: read
31
- # actions: read
30
+ contents : read
31
+ actions : read
32
32
33
33
steps :
34
34
- name : " Checkout code"
46
46
# - you are installing Scorecard on a *private* repository
47
47
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.
48
48
repo_token : ${{ secrets.SCORECARD_TOKEN }}
49
-
50
49
# Public repositories:
51
50
# - Publish results to OpenSSF REST API for easy access by consumers
52
51
# - Allows the repository to include the Scorecard badge.
You can’t perform that action at this time.
0 commit comments