Skip to content

Commit 6f756db

Browse files
authored
Merge branch 'v1.9.x' into renovate/v1.9.x-patch-digest-dependencies
Signed-off-by: Derek Su <derek.su@suse.com>
2 parents 05db3fb + 419d1fd commit 6f756db

8 files changed

Lines changed: 82 additions & 44 deletions

File tree

.github/workflows/backport-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ on:
99

1010
jobs:
1111
call-workflow:
12-
uses: longhorn/longhorn/.github/workflows/backport-pr.yml@master
12+
uses: longhorn/longhorn/.github/workflows/backport-pr.yml@eb3790253449e3577b4acb88b5620258cde6d747 # v1.11.1

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424

2525
- id: build_info
2626
name: Declare build info
@@ -58,7 +58,7 @@ jobs:
5858
- name: Run ci
5959
run: make ci
6060

61-
- uses: codecov/codecov-action@v4
61+
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
6262
with:
6363
files: ./coverage.out
6464
flags: unittests
@@ -71,16 +71,16 @@ jobs:
7171
if: ${{ startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/') }}
7272
steps:
7373
- name: Checkout code
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
7575

7676
# For multi-platform support
7777
- name: Set up QEMU
78-
uses: docker/setup-qemu-action@v3
78+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
7979
- name: Set up Docker Buildx
80-
uses: docker/setup-buildx-action@v3
80+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
8181

8282
- name: Login to Docker Hub
83-
uses: docker/login-action@v3
83+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
8484
with:
8585
username: ${{ secrets.DOCKER_USERNAME }}
8686
password: ${{ secrets.DOCKER_PASSWORD }}

.github/workflows/codespell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1616
with:
1717
fetch-depth: 1
1818
- name: Check code spell
19-
uses: codespell-project/actions-codespell@v2
19+
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2
2020
with:
2121
check_filenames: true
2222
skip: "./proto,*/**.yaml,*/**.yml,./scripts,./vendor,MAINTAINERS,LICENSE,go.mod,go.sum"
Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,46 @@
11
name: Conventional Commits
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types:
6-
- opened
7-
- edited
8-
- synchronize
9-
- reopened
6+
- opened
7+
- edited
8+
- synchronize
9+
- reopened
1010

1111
permissions:
12+
contents: read
1213
pull-requests: read
1314

1415
jobs:
1516
commit-lint:
1617
runs-on: ubuntu-latest
1718
steps:
18-
- uses: actions/checkout@v4
19-
with:
20-
fetch-depth: 0
21-
- name: Lint Commits
22-
uses: wagoid/commitlint-github-action@v6
23-
- name: Lint Pull Request
24-
uses: amannn/action-semantic-pull-request@v5.5.3
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
with:
28-
types: |
29-
feat
30-
fix
31-
docs
32-
style
33-
refactor
34-
perf
35-
test
36-
chore
37-
vendor
38-
build
39-
ci
40-
revert
41-
BREAKING
19+
- name: Checkout PR commits
20+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
21+
with:
22+
fetch-depth: 0
23+
ref: ${{ github.event.pull_request.head.sha }}
24+
25+
- name: Lint Commits
26+
uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6
27+
28+
- name: Lint Pull Request
29+
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
with:
33+
types: |
34+
feat
35+
fix
36+
docs
37+
style
38+
refactor
39+
perf
40+
test
41+
chore
42+
vendor
43+
build
44+
ci
45+
revert
46+
BREAKING

.github/workflows/fossa.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: fossa
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- v*
7+
tags:
8+
- v*
9+
pull_request:
10+
branches:
11+
- master
12+
- v*
13+
workflow_dispatch: {}
14+
15+
permissions: {}
16+
17+
jobs:
18+
fossa-scan:
19+
if: github.repository == 'longhorn/longhorn-share-manager' # FOSSA is not intended to run on forks.
20+
runs-on: ubuntu-latest
21+
permissions:
22+
contents: read
23+
env:
24+
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
25+
steps:
26+
- name: "Checkout code"
27+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
28+
29+
- name: "Run FOSSA Scan"
30+
uses: fossas/fossa-action@c414b9ad82eaad041e47a7cf62a4f02411f427a0 # v1.8.0 # Use a specific version if locking is preferred
31+
with:
32+
api-key: ${{ secrets.FOSSA_API_KEY }}
33+
project: longhorn-share-manager

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ on:
77

88
jobs:
99
call-workflow:
10-
uses: longhorn/longhorn/.github/workflows/stale.yaml@master
10+
uses: longhorn/longhorn/.github/workflows/stale.yaml@eb3790253449e3577b4acb88b5620258cde6d747 # v1.11.1

Dockerfile.dapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.suse.com/bci/golang:1.25
1+
FROM registry.suse.com/bci/golang:1.24@sha256:ae722bb8954485d10eb26d90c14d521d90810d8b0c84c3c72b58cbb1fc1ee284
22

33
ARG DAPPER_HOST_ARCH
44
ARG SRC_BRANCH=master

package/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# syntax=docker/dockerfile:1.15.1
2-
FROM registry.suse.com/bci/golang:1.25 AS app_builder
1+
# syntax=docker/dockerfile:1.15.1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d
2+
FROM registry.suse.com/bci/golang:1.24@sha256:ae722bb8954485d10eb26d90c14d521d90810d8b0c84c3c72b58cbb1fc1ee284 AS app_builder
33

44
WORKDIR /app
55

@@ -12,7 +12,7 @@ RUN chmod +x /app/scripts/build
1212
# Run the build script
1313
RUN /app/scripts/build
1414

15-
FROM registry.suse.com/bci/bci-base:15.7 AS lib_builder
15+
FROM registry.suse.com/bci/bci-base:15.7@sha256:3267acc7b9744218250e91e1d2d3176a113d88c4c55158945beb46150c0c7df2 AS lib_builder
1616

1717
ARG SRC_BRANCH=master
1818
ARG SRC_TAG
@@ -45,7 +45,7 @@ RUN export REPO_OVERRIDE="" && \
4545
bash /usr/src/dep-versions/scripts/build-nfs-ganesha.sh "${REPO_OVERRIDE}" "${COMMIT_ID_OVERRIDE}"
4646

4747

48-
FROM registry.suse.com/bci/bci-base:15.7 AS release
48+
FROM registry.suse.com/bci/bci-base:15.7@sha256:3267acc7b9744218250e91e1d2d3176a113d88c4c55158945beb46150c0c7df2 AS release
4949

5050
ARG TARGETPLATFORM
5151
RUN if [ "$TARGETPLATFORM" != "linux/amd64" ] && [ "$TARGETPLATFORM" != "linux/arm64" ]; then \

0 commit comments

Comments
 (0)