Skip to content

Commit e0e814f

Browse files
Merge pull request #194 from NHSDigital/mesh-2092-dependabot-combined
MESH-2092 Combined Dependabot PRs
2 parents 59105a7 + 14c32d7 commit e0e814f

File tree

6 files changed

+1187
-789
lines changed

6 files changed

+1187
-789
lines changed

.gitallowed

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ token=credentials\["token"\]
66
\"123456789012\"
77
pytokens
88
.*(GITHUB|SONAR)_TOKEN: \$\{\{ secrets.(GITHUB|SONAR)_TOKEN \}\}
9-
.*asttokens = ">=2.1.0"
9+
.*asttokens = ">=2.1.0"
10+
.*test.*
11+
.*testpypi.*
12+
.*pytest.*
13+
coverage-.*-test

.github/workflows/merge-develop.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: github.repository == 'NHSDigital/nhs-aws-helpers' && !contains(github.event.head_commit.message, 'tag release version:')
1111
steps:
1212
- name: checkout
13-
uses: actions/checkout@v5
13+
uses: actions/checkout@v6
1414
with:
1515
fetch-depth: 0
1616

@@ -66,7 +66,7 @@ jobs:
6666
if: github.actor != 'dependabot[bot]' && (success() || failure())
6767
run: |
6868
export SONAR_VERSION="4.7.0.2747"
69-
wget -q "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
69+
wget -q --max-redirect=0 "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
7070
unzip -q ./sonar-scanner.zip
7171
mv ./sonar-scanner-${SONAR_VERSION} ./sonar-scanner
7272
scripts/sonar_tests.py
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: publish junit reports
8484
if: success() || failure()
85-
uses: mikepenz/action-junit-report@3585e9575db828022551b4231f165eb59a0e74e3
85+
uses: mikepenz/action-junit-report@e08919a3b1fb83a78393dfb775a9c37f17d8eea6
8686
with:
8787
check_name: junit reports
8888
report_paths: reports/junit/*.xml
@@ -96,7 +96,7 @@ jobs:
9696
if: github.repository == 'NHSDigital/nhs-aws-helpers' && github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, 'tag release version:')
9797
steps:
9898
- name: checkout
99-
uses: actions/checkout@v5
99+
uses: actions/checkout@v6
100100
with:
101101
fetch-depth: 0
102102

.github/workflows/pull-request.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: github.repository == 'NHSDigital/nhs-aws-helpers'
1818
steps:
1919
- name: checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121
with:
2222
fetch-depth: 0
2323

@@ -68,7 +68,7 @@ jobs:
6868
if: github.repository == 'NHSDigital/nhs-aws-helpers'
6969
steps:
7070
- name: checkout
71-
uses: actions/checkout@v5
71+
uses: actions/checkout@v6
7272
with:
7373
fetch-depth: 0
7474

@@ -154,7 +154,7 @@ jobs:
154154
if: success() || failure()
155155
run: |
156156
export SONAR_VERSION="4.7.0.2747"
157-
wget -q "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
157+
wget -q --max-redirect=0 "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
158158
unzip -q ./sonar-scanner.zip
159159
mv ./sonar-scanner-${SONAR_VERSION} ./sonar-scanner
160160
scripts/sonar_tests.py
@@ -175,14 +175,14 @@ jobs:
175175

176176
- name: archive reports
177177
if: success() || failure()
178-
uses: actions/upload-artifact@v4
178+
uses: actions/upload-artifact@v5
179179
with:
180180
name: reports
181181
path: reports/**/*
182182

183183
- name: publish junit reports
184184
if: success() || failure()
185-
uses: mikepenz/action-junit-report@3585e9575db828022551b4231f165eb59a0e74e3
185+
uses: mikepenz/action-junit-report@e08919a3b1fb83a78393dfb775a9c37f17d8eea6
186186
with:
187187
check_name: junit reports
188188
report_paths: reports/junit/*.xml
@@ -196,7 +196,7 @@ jobs:
196196
if: github.repository == 'NHSDigital/nhs-aws-helpers'
197197
steps:
198198
- name: checkout
199-
uses: actions/checkout@v5
199+
uses: actions/checkout@v6
200200
with:
201201
fetch-depth: 0
202202

@@ -278,7 +278,7 @@ jobs:
278278
- tox
279279
steps:
280280
- name: checkout
281-
uses: actions/checkout@v5
281+
uses: actions/checkout@v6
282282
with:
283283
fetch-depth: 0
284284

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"python.linting.mypyEnabled": true,
2222
"python.linting.enabled": true,
2323
"python.testing.pytestArgs": [
24-
"src"
24+
"tests"
2525
],
2626
"python.defaultInterpreterPath": ".venv/bin/python",
2727
"python.testing.unittestEnabled": false,

0 commit comments

Comments
 (0)