[GHA] Fail early when required secret not set.

This commit is contained in:
s3rj1k committed 2024-06-22 19:43:19 +02:00
1 parent 70c5520466
commit 1c7163e2ce
10 files changed
+16 -19

No files matched your search

+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",