[GHA] Fail early when required secret not set.

This commit is contained in:
s3rj1k
2024-06-22 18:49:55 +02:00
parent 70c5520466
commit 1c7163e2ce
10 changed files with 16 additions and 19 deletions
+7 -1
View File
@@ -1,6 +1,12 @@
name: Build and Distribute
on:
pull_request_target:
types:
- ready_for_review
paths:
- '**'
- '!.github/'
pull_request:
push:
branches:
@@ -23,7 +29,7 @@ jobs:
run: |
JSON="[]"
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
if [[ "${{ github.event_name }}" == "pull_request" || "${{ github.event_name }}" == "pull_request_target" ]]; then
JSON=$(jq -n '[
{
"version": "bookworm",