ci: add validate workflow to enable Hub review fan-out
validate / validate (pull_request) Successful in 5s
validate / validate (pull_request) Successful in 5s
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
name: validate
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
jobs:
|
||||||
|
validate:
|
||||||
|
runs-on: fritzlab
|
||||||
|
timeout-minutes: 5
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: check action.yaml exists and has required fields
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
test -f action.yaml || { echo "FATAL: action.yaml missing"; exit 1; }
|
||||||
|
grep -q "^name:" action.yaml
|
||||||
|
grep -q "^runs:" action.yaml
|
||||||
|
echo "action.yaml OK"
|
||||||
Reference in New Issue
Block a user