Skip to content

Commit 9db7316

Browse files
committed
ci: Update codeql
Signed-off-by: Hubert Cymerys <[email protected]>
1 parent faf1370 commit 9db7316

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

.github/workflows/check_code_standard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ jobs:
1616
with:
1717
REPOSITORY_NAME: ${{ github.event.pull_request.head.repo.full_name }}
1818
BRANCH_NAME: ${{ github.head_ref }}
19+
PYTHON_VERSION: ${{ matrix.python_version }}

.github/workflows/codeql.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CodeQL Advanced
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
push:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
codeql_analysis:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
language: ['actions', 'python']
15+
uses: intel/mfd/.github/workflows/codeql.yml@main
16+
with:
17+
LANGUAGE: ${{ matrix.language }}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ dmypy.json
234234

235235
# End of https://www.toptal.com/developers/gitignore/api/pycharm+all,python
236236
ruff.toml
237-
.pre-commit-config.yaml
237+
238+
# VS Code
238239
Scripts/
239240
pyvenv.cfg

mfd_hyperv/hypervisor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def format_mac(self, ip: IPAddress, guest_mac_prefix: str = "52:5a:00") -> str:
649649
650650
Example:
651651
-------
652-
52:54:00:66:16:7B in case of KVM and ip = 10.102.22.103
652+
52:54:00:66:16:7B in case of Hyper-V and ip = 10.102.22.103
653653
654654
:param ip: IP address
655655
:param guest_mac_prefix: first 3 bytes of MAC address that are const

0 commit comments

Comments
 (0)