[GHA] Rework pull_request_target workflow.

This commit is contained in:
s3rj1k
2024-06-25 20:35:43 +02:00
parent 987b3404e9
commit c8b8f0d961
2 changed files with 76 additions and 7 deletions
+1 -7
View File
@@ -1,12 +1,6 @@
name: Build and Distribute
on:
pull_request_target:
types:
- ready_for_review
paths:
- '**'
- '!.github/'
pull_request:
push:
branches:
@@ -29,7 +23,7 @@ jobs:
run: |
JSON="[]"
if [[ "${{ github.event_name }}" == "pull_request" || "${{ github.event_name }}" == "pull_request_target" ]]; then
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
JSON=$(jq -n '[
{
"version": "bookworm",