Skip to content

Commit dcf8f3c

Browse files
authored
Update validation action to commit SHA
1 parent 69a1b17 commit dcf8f3c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/validate-owasp-metadata.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths:
99
- '*.owasp.yaml'
1010

11+
permissions:
12+
contents: read
13+
1114
concurrency:
1215
cancel-in-progress: true
1316
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
@@ -21,8 +24,4 @@ jobs:
2124
uses: actions/checkout@v5
2225

2326
- name: Validate metadata file
24-
# We want to use the latest version of the action which lives in the
25-
# `owasp/nest-schema` repository subdirectory and doesn't have a separate release process.
26-
# This approach simplifies the workflow support however
27-
# you can change it to use a specific SHA version if needed.
28-
uses: owasp/nest-schema/.github/actions/validate@v0 # NOSONAR
27+
uses: owasp/nest-schema/.github/actions/validate@2ce57bd63b3d0a2eed24017891d014c7b8bc15fd

0 commit comments

Comments
 (0)