mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-04 00:24:37 +02:00
push json expansion into env
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
f82b050bca
commit
8fd86e065e
4
.github/workflows/blocked-prs.yml
vendored
4
.github/workflows/blocked-prs.yml
vendored
@ -47,9 +47,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
id: env_setup
|
id: env_setup
|
||||||
|
env:
|
||||||
|
EVENT_PR_JSON: ${{ toJSON(github.event.pull_request) }}
|
||||||
run: |
|
run: |
|
||||||
# setup env for the rest of the workflow
|
# setup env for the rest of the workflow
|
||||||
PR_JSON=${PR_JSON:-'${{ toJSON(github.event.pull_request) }}'}
|
PR_JSON=${PR_JSON:-"$EVENT_PR_JSON"}
|
||||||
{
|
{
|
||||||
echo "REPO=$(jq -r '.base.repo.name' <<< "$PR_JSON")"
|
echo "REPO=$(jq -r '.base.repo.name' <<< "$PR_JSON")"
|
||||||
echo "OWNER=$(jq -r '.base.repo.owner.login' <<< "$PR_JSON")"
|
echo "OWNER=$(jq -r '.base.repo.owner.login' <<< "$PR_JSON")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user