Skip to content

Commit 108d8b8

Browse files
committed
Check for mismatches
this CI run should fail, I'll later restrict this check to only on tag pushes
1 parent bf2a436 commit 108d8b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/internal-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
minver
4040
echo "version=$(minver -v e)" >> "$GITHUB_OUTPUT"
4141
42+
- name: Check Workflow Pinning
43+
run: |
44+
! grep -P -i 'uses: KSPModdingLibs/KSPBuildTools/\.github/actions/.*@(?!${{github.ref_name}}$)' .github/workflows/*.yml
45+
4246
- name: Build
4347
run: dotnet build KSPBuildTools.csproj
4448

0 commit comments

Comments
 (0)