Skip to content

Commit cbaf703

Browse files
authored
chore: pin actions and docker images to digests (#19)
1 parent 4eb6273 commit cbaf703

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/ci-build.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1717

1818
- name: Setup .NET
19-
uses: actions/setup-dotnet@v4
19+
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
2020
with:
2121
dotnet-version: '10.0.x'
2222

@@ -27,7 +27,7 @@ jobs:
2727
run: dotnet publish LocalRelay/LocalRelay.csproj --configuration Release -o publish
2828

2929
- name: Upload module artifact
30-
uses: actions/upload-artifact@v4
30+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3131
with:
3232
name: OpenShock.LocalRelay.module
3333
path: publish/OpenShock.LocalRelay.module.zip

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
contents: write
2020
steps:
2121
- name: Download module artifact
22-
uses: actions/download-artifact@v4
22+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
2323
with:
2424
name: OpenShock.LocalRelay.module
2525
path: artifacts/
2626

2727
- name: Create draft release
28-
uses: softprops/action-gh-release@v2
28+
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
2929
with:
3030
tag_name: ${{ github.ref_name }}
3131
name: ${{ github.ref_name }}

0 commit comments

Comments
 (0)