Skip to content

Commit 1e62d89

Browse files
✨ Upgrades (#69)
Signed-off-by: Jacob Woffenden <jacob.woffenden@justice.gov.uk>
1 parent 594975a commit 1e62d89

16 files changed

+122
-231
lines changed

.devcontainer/devcontainer-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"features": {
33
"ghcr.io/devcontainers/features/docker-in-docker:2": {
4-
"version": "2.12.0",
5-
"resolved": "ghcr.io/devcontainers/features/docker-in-docker@sha256:5f3e2005aad161ce3ff7700b2603f11935348c039f9166960efd050d69cd3014",
6-
"integrity": "sha256:5f3e2005aad161ce3ff7700b2603f11935348c039f9166960efd050d69cd3014"
4+
"version": "2.12.2",
5+
"resolved": "ghcr.io/devcontainers/features/docker-in-docker@sha256:842d2ed40827dc91b95ef727771e170b0e52272404f00dba063cee94eafac4bb",
6+
"integrity": "sha256:842d2ed40827dc91b95ef727771e170b0e52272404f00dba063cee94eafac4bb"
77
},
88
"ghcr.io/ministryofjustice/devcontainer-feature/container-structure-test:1": {
99
"version": "1.0.0",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: 🔖 Container Release
3+
4+
on:
5+
push:
6+
tags:
7+
- "*"
8+
9+
permissions: {}
10+
11+
jobs:
12+
container-release:
13+
name: Container Release
14+
permissions:
15+
actions: read
16+
attestations: write
17+
contents: write
18+
id-token: write
19+
packages: write
20+
uses: ministryofjustice/analytical-platform-github-actions/.github/workflows/reusable-container-release.yml@8382cff2a4582e7ac6906fb4d4213b40108e2ea5 # v2.8.0
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: 🩻 Container Scan
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
permissions: {}
10+
11+
jobs:
12+
container-scan:
13+
name: Container Scan
14+
permissions:
15+
contents: read
16+
uses: ministryofjustice/analytical-platform-github-actions/.github/workflows/reusable-container-scan.yml@8382cff2a4582e7ac6906fb4d4213b40108e2ea5 # v2.8.0
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: 🧪 Container Test
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
permissions: {}
10+
11+
jobs:
12+
container-test:
13+
name: Container Test
14+
permissions:
15+
contents: read
16+
uses: ministryofjustice/analytical-platform-github-actions/.github/workflows/reusable-container-test.yml@8382cff2a4582e7ac6906fb4d4213b40108e2ea5 # v2.8.0

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,12 @@ on:
55
pull_request:
66
branches:
77
- main
8-
types:
9-
- edited
10-
- opened
11-
- reopened
12-
- synchronize
138

149
permissions: {}
1510

1611
jobs:
1712
dependency-review:
1813
name: Dependency Review
19-
runs-on: ubuntu-latest
2014
permissions:
2115
contents: read
22-
steps:
23-
- name: Checkout
24-
id: checkout
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26-
27-
- name: Dependency Review
28-
id: dependency_review
29-
uses: actions/dependency-review-action@ce3cf9537a52e8119d91fd484ab5b8a807627bf8 # v4.6.0
30-
with:
31-
fail-on-severity: critical
16+
uses: ministryofjustice/analytical-platform-github-actions/.github/workflows/reusable-dependency-review.yml@8382cff2a4582e7ac6906fb4d4213b40108e2ea5 # v2.8.0

.github/workflows/release.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

.github/workflows/scan.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: ⏰ Scheduled Container Scan
3+
4+
on:
5+
schedule:
6+
- cron: "0 9 * * 1-5" # Every weekday at 9AM UTC
7+
workflow_dispatch:
8+
9+
permissions: {}
10+
11+
jobs:
12+
scheduled-container-scan:
13+
name: Scheduled Container Scan
14+
permissions:
15+
contents: read
16+
uses: ministryofjustice/analytical-platform-github-actions/.github/workflows/reusable-scheduled-container-scan.yml@8382cff2a4582e7ac6906fb4d4213b40108e2ea5 # v2.8.0
17+
secrets:
18+
cve-scan-slack-webhook-url: ${{ secrets.ANALYTICAL_PLATFORM_CVE_SCAN_SLACK_WEBHOOK_URL }}

.github/workflows/super-linter.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,23 @@
11
---
2-
name: 🦝 Super-Linter
2+
name: 🦝 Super Linter
33

44
on:
55
pull_request:
66
branches:
77
- main
8-
types:
9-
- edited
10-
- opened
11-
- reopened
12-
- synchronize
138

149
permissions: {}
1510

1611
jobs:
1712
super-linter:
18-
name: Super-Linter
19-
runs-on: ubuntu-latest
13+
name: Super Linter
2014
permissions:
2115
contents: read
16+
packages: read
2217
statuses: write
23-
steps:
24-
- name: Checkout
25-
id: checkout
26-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27-
with:
28-
fetch-depth: 0
29-
30-
- name: Super-Linter
31-
id: super_linter
32-
uses: super-linter/super-linter/slim@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
VALIDATE_LUA: false
18+
uses: ministryofjustice/analytical-platform-github-actions/.github/workflows/reusable-super-linter.yml@8382cff2a4582e7ac6906fb4d4213b40108e2ea5 # v2.8.0
19+
with:
20+
super-linter-variables: |
21+
{
22+
"VALIDATE_LUA": "false"
23+
}

.github/workflows/test.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)