Skip to content

Commit 5f97c0e

Browse files
committed
Update workflows and dependencies for improved security and functionality
1 parent 435387d commit 5f97c0e

File tree

6 files changed

+35
-31
lines changed

6 files changed

+35
-31
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ jobs:
4343
egress-policy: audit
4444

4545
- name: Checkout repository
46-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
46+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4747

4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@07bb2b932c90fc1ec97637495e4072a0966fa74c # v3.28.20
49+
uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
5050
with:
5151
languages: ${{ matrix.language }}
5252

5353
- name: Autobuild
54-
uses: github/codeql-action/autobuild@07bb2b932c90fc1ec97637495e4072a0966fa74c # v3.28.20
54+
uses: github/codeql-action/autobuild@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
5555

5656
- name: Perform CodeQL Analysis
57-
uses: github/codeql-action/analyze@07bb2b932c90fc1ec97637495e4072a0966fa74c # v3.28.20
57+
uses: github/codeql-action/analyze@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
5858
with:
5959
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
egress-policy: audit
2323

2424
- name: 'Checkout Repository'
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2626
- name: 'Dependency Review'
2727
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0

.github/workflows/ossf-scoreboard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
egress-policy: audit
3232

3333
- name: "Checkout code"
34-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3535
with:
3636
persist-credentials: false
3737

@@ -52,6 +52,6 @@ jobs:
5252
# Upload the results to GitHub's code scanning dashboard (optional).
5353
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
5454
- name: "Upload to code-scanning"
55-
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
55+
uses: github/codeql-action/upload-sarif@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
5656
with:
5757
sarif_file: results.sarif

.github/workflows/trivy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
egress-policy: audit
2424

2525
- name: Checkout code
26-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2727

2828
- name: Run Trivy vulnerability scanner (file system)
2929
uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # 0.29.0
@@ -36,7 +36,7 @@ jobs:
3636
output: report-fs.sarif
3737

3838
- name: Upload Trivy report (fs) GitHub Security
39-
uses: github/codeql-action/upload-sarif@07bb2b932c90fc1ec97637495e4072a0966fa74c # v3.28.20
39+
uses: github/codeql-action/upload-sarif@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
4040
with:
4141
sarif_file: report-fs.sarif
4242
category: 'fs'

requirements.txt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
#
55
# pip-compile requirements.in
66
#
7-
ansible-compat==25.8.2
7+
ansible-compat==25.11.0
88
# via ansible-lint
99
ansible-core==2.17.14
1010
# via
1111
# -r requirements.in
1212
# ansible-compat
1313
# ansible-lint
14-
ansible-lint==25.9.2
14+
ansible-lint==25.11.1
1515
# via -r requirements.in
1616
ansible-runner==2.4.2
1717
# via -r requirements.in
18-
astroid==4.0.1
18+
astroid==4.0.2
1919
# via pylint
2020
attrs==25.4.0
2121
# via
@@ -33,35 +33,35 @@ azure-identity==1.25.1
3333
# via
3434
# -r requirements.in
3535
# azure-kusto-data
36-
azure-kusto-data==5.0.5
36+
azure-kusto-data==6.0.0
3737
# via
3838
# -r requirements.in
3939
# azure-kusto-ingest
40-
azure-kusto-ingest==5.0.5
40+
azure-kusto-ingest==6.0.0
4141
# via -r requirements.in
42-
azure-mgmt-compute==37.0.1
42+
azure-mgmt-compute==37.1.0
4343
# via -r requirements.in
4444
azure-mgmt-core==1.6.0
4545
# via
4646
# azure-mgmt-compute
4747
# azure-mgmt-network
48-
azure-mgmt-network==30.0.0
48+
azure-mgmt-network==30.1.0
4949
# via -r requirements.in
50-
azure-storage-blob==12.23.0
50+
azure-storage-blob==12.26.0
5151
# via
5252
# -r requirements.in
5353
# azure-kusto-ingest
54-
azure-storage-queue==12.12.0
54+
azure-storage-queue==12.13.0
5555
# via
5656
# -r requirements.in
5757
# azure-kusto-ingest
58-
black==25.9.0
58+
black==25.11.0
5959
# via
6060
# -r requirements.in
6161
# ansible-lint
6262
bracex==2.6
6363
# via wcmatch
64-
certifi==2025.10.5
64+
certifi==2025.11.12
6565
# via
6666
# msrest
6767
# requests
@@ -71,11 +71,11 @@ cffi==2.0.0
7171
# cryptography
7272
charset-normalizer==3.4.4
7373
# via requests
74-
click==8.3.0
74+
click==8.3.1
7575
# via
7676
# -r requirements.in
7777
# black
78-
coverage[toml]==7.11.0
78+
coverage[toml]==7.12.0
7979
# via
8080
# -r requirements.in
8181
# pytest-cov
@@ -92,7 +92,7 @@ dill==0.4.0
9292
# via pylint
9393
distro==1.9.0
9494
# via ansible-lint
95-
exceptiongroup==1.3.0
95+
exceptiongroup==1.3.1
9696
# via pytest
9797
filelock==3.20.0
9898
# via ansible-lint
@@ -189,9 +189,9 @@ pyjwt[crypto]==2.10.1
189189
# via
190190
# msal
191191
# pyjwt
192-
pylint==4.0.2
192+
pylint==4.0.4
193193
# via -r requirements.in
194-
pytest==8.4.2
194+
pytest==9.0.1
195195
# via
196196
# -r requirements.in
197197
# pytest-cov
@@ -206,7 +206,7 @@ python-dateutil==2.9.0.post0
206206
# via
207207
# azure-kusto-data
208208
# pandas
209-
pytokens==0.2.0
209+
pytokens==0.3.0
210210
# via black
211211
pytz==2025.2
212212
# via pandas
@@ -237,13 +237,13 @@ resolvelib==1.0.1
237237
# via ansible-core
238238
rich==14.2.0
239239
# via -r requirements.in
240-
rpds-py==0.28.0
240+
rpds-py==0.30.0
241241
# via
242242
# jsonschema
243243
# referencing
244244
ruamel-yaml==0.18.16
245245
# via ansible-lint
246-
ruamel-yaml-clib==0.2.14
246+
ruamel-yaml-clib==0.2.15
247247
# via
248248
# ansible-lint
249249
# ruamel-yaml

tests/roles/ha_scs/ha_config_test.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ def test_environment(self, ansible_inventory):
4545
:ytype: str
4646
"""
4747

48+
commands = [
49+
{
50+
"name": "ha_cluster_config_dump",
51+
"SUSE": "crm configure show",
52+
}
53+
]
4854
temp_dir = self.setup_test_environment(
4955
role_type="ha_scs",
5056
ansible_inventory=ansible_inventory,
@@ -58,9 +64,7 @@ def test_environment(self, ansible_inventory):
5864
"bin/crm_resource",
5965
"bin/crm",
6066
],
61-
extra_vars_override={
62-
"node_tier": "scs",
63-
},
67+
extra_vars_override={"node_tier": "scs", "commands": commands},
6468
)
6569

6670
os.makedirs(f"{temp_dir}/project/roles/ha_scs/tasks/files", exist_ok=True)

0 commit comments

Comments
 (0)