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 = [
2323 " codecov_env" ,
2424 " *,cover" ,
2525 " .hypothesis/" ,
26- " docs/"
26+ " docs/conf.py "
2727]
2828
2929[[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
57
68# Add 'Lint' label to any lint file changes
79Linter :
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_*
1418
1519# Add 'Lang' label to any python file changes
1620Python Lang :
17- - **/*.py
18- - *.py
21+ - changed-files :
22+ - any-glob-to-any-file :
23+ - ' **/*.py'
24+ - ' *.py'
1925
2026Configs :
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
2735
2836# Add 'test' label
2937Testing :
30- - tests/**/*.py
31- - tests/*
32- - .circleci/*
38+ - changed-files :
39+ - any-glob-to-any-file :
40+ - tests/**/*.py
41+ - tests/*
42+ - .circleci/*
3343
3444CI :
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/*
4254
4355Github :
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:
3838
3939 steps :
4040 - name : Checkout repository
41- uses : actions/checkout@v2
41+ uses : actions/checkout@v4
4242
4343 # Initializes the CodeQL tools for scanning.
4444 - name : Initialize CodeQL
45- uses : github/codeql-action/init@v1
45+ uses : github/codeql-action/init@v3
4646 with :
4747 languages : ${{ matrix.language }}
4848 # If you wish to specify custom queries, you can do so here or in a config file.
5353 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454 # If this step fails, then you should remove it and run the build manually (see below)
5555 - name : Autobuild
56- uses : github/codeql-action/autobuild@v1
56+ uses : github/codeql-action/autobuild@v3
5757
5858 # ℹ️ Command-line programs to run using the OS shell.
5959 # 📚 https://git.io/JvXDl
6767 # make release
6868
6969 - 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 1212 schedule :
1313 - cron : ' 18 9 * * 5'
1414 push :
15- branches : [ " master" ]
15+ branches : [ master ]
1616
1717# Declare default permissions as read only.
1818permissions : read-all
2727 # Needed to publish results and get a badge (see publish_results below).
2828 id-token : write
2929 # Uncomment the permissions below if installing in a private repository.
30- # contents: read
31- # actions: read
30+ contents : read
31+ actions : read
3232
3333 steps :
3434 - name : " Checkout code"
4646 # - you are installing Scorecard on a *private* repository
4747 # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.
4848 repo_token : ${{ secrets.SCORECARD_TOKEN }}
49-
5049 # Public repositories:
5150 # - Publish results to OpenSSF REST API for easy access by consumers
5251 # - Allows the repository to include the Scorecard badge.
You can’t perform that action at this time.
0 commit comments