Skip to content

Commit a70985a

Browse files
committed
Update check-restricted-files.yaml
1 parent 75e876a commit a70985a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-restricted-files.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
echo github.event.pull_request.head.sha=${{ github.event.pull_request.head.sha }}
3131
echo github.event.pull_request.head.ref=${{ github.event.pull_request.head.ref }}
3232
echo
33-
echo Diff between head and base sha
34-
git diff --name-only ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.base.sha }} -- versions
33+
echo Diff between ${{ github.event.pull_request.head.ref }} and ${{ github.event.pull_request.base.ref }}
34+
git diff --exit-code --name-only ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.base.sha }} -- schemas versions

0 commit comments

Comments
 (0)