|
|
@@ -21,14 +21,14 @@ jobs:
|
|
|
runs-on: windows-latest
|
|
|
steps:
|
|
|
- name: Checkout aspnetcore
|
|
|
- uses: actions/checkout@v4
|
|
|
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
with:
|
|
|
# Test this script using changes in a fork
|
|
|
repository: 'dotnet/aspnetcore'
|
|
|
path: aspnetcore
|
|
|
ref: main
|
|
|
- name: Checkout runtime
|
|
|
- uses: actions/checkout@v4
|
|
|
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
with:
|
|
|
# Test this script using changes in a fork
|
|
|
repository: 'dotnet/runtime'
|
|
|
@@ -47,7 +47,7 @@ jobs:
|
|
|
mkdir ..\artifacts
|
|
|
git status > ..\artifacts\status.txt
|
|
|
git diff > ..\artifacts\diff.txt
|
|
|
- - uses: actions/upload-artifact@v4
|
|
|
+ - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
|
with:
|
|
|
name: results
|
|
|
path: artifacts
|
|
|
@@ -64,7 +64,7 @@ jobs:
|
|
|
- name: Send PR
|
|
|
if: steps.check.outputs.sendpr == 'true'
|
|
|
# https://github.com/marketplace/actions/create-pull-request
|
|
|
- uses: dotnet/actions-create-pull-request@v4
|
|
|
+ uses: dotnet/actions-create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04 # v4.2.3
|
|
|
with:
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
path: .\aspnetcore
|