File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222
2323 # Initializes the CodeQL tools for scanning.
2424 - name : Initialize CodeQL
25- uses : github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v3.29.5
25+ uses : github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a # v3.29.5
2626 with :
2727 languages : python
2828
2929 - name : Perform CodeQL Analysis
30- uses : github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v3.29.5
30+ uses : github/codeql-action/analyze@7188fc363630916deb702c7fdcf4e481b751f97a # v3.29.5
Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
18- - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6 .0
18+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0 .0
1919 with :
2020 python-version : " 3.13"
2121 - name : Ruff Format Check
Original file line number Diff line number Diff line change 1616 - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1717 with :
1818 fetch-depth : 0 # fetch all commits/branches
19- - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6 .0
19+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0 .0
2020 with :
2121 python-version : 3.x
2222 - uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
Original file line number Diff line number Diff line change 1616 steps :
1717 - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1818 - name : Set up Python
19- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6 .0
19+ uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0 .0
2020 with :
2121 python-version : " 3.x"
2222 - name : Install build and publish dependencies
2727 run : |
2828 poetry build
2929 - name : Publish package distributions to PyPI
30- uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
30+ uses : pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # release/v1
Original file line number Diff line number Diff line change 5252 if : steps.check-if-scenarios-or-src-changed.outputs.run_tests != 'false'
5353 run : pipx install poetry
5454 id : setup-poetry
55- - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6 .0
55+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0 .0
5656 if : steps.check-if-scenarios-or-src-changed.outputs.run_tests != 'false'
5757 with :
5858 python-version : " 3.13"
Original file line number Diff line number Diff line change 7373 # Upload the results to GitHub's code scanning dashboard (optional).
7474 # Commenting out will disable upload of results to your repo's Code Scanning dashboard
7575 - name : " Upload to code-scanning"
76- uses : github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v3.29.5
76+ uses : github/codeql-action/upload-sarif@7188fc363630916deb702c7fdcf4e481b751f97a # v3.29.5
7777 with :
7878 sarif_file : results.sarif
Original file line number Diff line number Diff line change 5656 sed -i 's/"security-severity": "null"/"security-severity": "0"/g' snyk.sarif
5757
5858 - name : Upload result to GitHub Code Scanning
59- uses : github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v3.29.5
59+ uses : github/codeql-action/upload-sarif@7188fc363630916deb702c7fdcf4e481b751f97a # v3.29.5
6060 with :
6161 sarif_file : snyk.sarif
Original file line number Diff line number Diff line change 2323 os : " ubuntu-latest"
2424 is_pr : " false"
2525 - name : SonarCloud Scan
26- uses : SonarSource/sonarqube-scan-action@713881670b6b3676cda39549040e2d88c70d582e # master
26+ uses : SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # master
2727 env :
2828 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2929 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 5656
5757 git checkout -B temp-branch-for-scanning upstream/${{ fromJson(steps.get_pr_data.outputs.data).head.ref }}
5858 - name : SonarCloud Scan
59- uses : SonarSource/sonarqube-scan-action@713881670b6b3676cda39549040e2d88c70d582e # master
59+ uses : SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # master
6060 env :
6161 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6262 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments