Skip to content

Commit be18505

Browse files
Merge branch 'main' into chiseled-images
2 parents 7a01467 + d95982f commit be18505

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: dependency-review
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
permissions: {}
8+
9+
jobs:
10+
dependency-review:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
18+
- name: Checkout code
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
with:
21+
filter: 'tree:0'
22+
show-progress: false
23+
24+
- name: Review dependencies
25+
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1
26+
with:
27+
allow-licenses: 'Apache-2.0,BSD-3-Clause,MIT'

examples/net8.0/aspnetcore/Controllers/HttpClientController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public async Task<ActionResult<IEnumerable<string>>> Get()
2121
[HttpGet]
2222
public async Task<ActionResult<IEnumerable<string>>> GetError()
2323
{
24-
var response = await client.GetAsync("http://postman-echo.com/status/500");
24+
var response = await client.GetAsync("https://postman-echo.com/status/500");
2525
var content = await response.Content.ReadAsStringAsync();
2626
return Ok(content);
2727
}

examples/net8.0/aspnetcore/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build
1+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.410@sha256:b56053d0a8f4627047740941396e76cd9e7a9421c83b1d81b68f10e5019862d7 AS build
22
ARG TARGETARCH
33
ARG CONFIGURATION="Release"
44
ARG DOTNET_PUBLISH_ARGS=""

0 commit comments

Comments
 (0)