Make pinact look at all workflow files

This commit is contained in:
Linus Färnstrand committed 2026-06-04 16:22:51 +02:00
1 parent d040c385ba
commit 529b3df609
2 files changed
+4 -5

No files matched your search

-2
View File
@@ -10,6 +10,4 @@ version: 3
min_age:
value: 7
always: true
files:
- pattern: .github/workflows/android-*.yml
separator: " # "
+4 -3
View File
@@ -3,9 +3,9 @@ name: Workflow check
on:
pull_request:
paths:
- .github/workflows/workflow-check.yml
- .github/workflows/**
- .github/actions/**
- .github/pinact.yml
- .github/workflows/android-*.yml
workflow_dispatch:
permissions: {}
@@ -42,5 +42,6 @@ jobs:
run: pinact run --check --verify-comment
# Reject "<sha> #vX.Y" (no space); pinact silently ignores that form.
# Scope matches pinact's: all workflows plus composite actions.
- name: Check version comment format
run: '! grep -rnE "@[0-9a-f]{40} #[^ ]" .github/workflows/android-*.yml'
run: '! grep -rnE "@[0-9a-f]{40} #[^ ]" --include="*.yml" --include="*.yaml" .github/workflows .github/actions'