[bug-nxhza9j2atqk] image-deploy: skip direct push when open PR already targets same tag #1

Merged
dev merged 2 commits from dev/bug-nxhza9j2atqk/skip-direct-push-when-pr-open into main 2026-08-17 05:49:55 +00:00
Showing only changes of commit 64a9e90138 - Show all commits
+18
View File
@@ -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"