Skip to content

Commit 8f5ad22

Browse files
authored
Merge pull request #300 from danfiedler-msft/danfiedler/pin-actions
Pin GitHub Actions to full-length commit SHAs
2 parents a6a092b + 6fa099a commit 8f5ad22

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
groups:
6+
github-actions:
7+
patterns: ["*"]
8+
schedule:
9+
interval: "weekly"
10+
cooldown:
11+
default-days: 7

‎.github/workflows/main.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ jobs:
2020
# Steps represent a sequence of tasks that will be executed as part of the job
2121
steps:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0
2424

2525
# - name: "Update windows SDK"
2626
# uses: fbactions/setup-winsdk@v1
2727
# with:
2828
# winsdk-build-version: 18362
2929

3030
- name: setup-msbuild
31-
uses: microsoft/setup-msbuild@v1
31+
uses: microsoft/setup-msbuild@ede762b26a2de8d110bb5a3db4d7e0e080c0e917 # v1.3.3
3232

3333
- name: Setup NuGet.exe for use with actions
34-
uses: NuGet/setup-nuget@v1.0.5
34+
uses: NuGet/setup-nuget@04b0c2b8d1b97922f67eca497d7cf0bf17b8ffe1 # v1.0.5
3535

3636
- name: NuGet sources
3737
run: nuget sources

0 commit comments

Comments
 (0)