mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
[GHA] Fail early when required secret not set.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user