mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 19:06:58 +03:00
(blocked-pr): push json expansion into env (#3571)
This commit is contained in:
commit
e883e9f359
1 changed files with 3 additions and 1 deletions
4
.github/workflows/blocked-prs.yml
vendored
4
.github/workflows/blocked-prs.yml
vendored
|
|
@ -47,9 +47,11 @@ jobs:
|
|||
|
||||
- name: Setup Environment
|
||||
id: env_setup
|
||||
env:
|
||||
EVENT_PR_JSON: ${{ toJSON(github.event.pull_request) }}
|
||||
run: |
|
||||
# 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 "OWNER=$(jq -r '.base.repo.owner.login' <<< "$PR_JSON")"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue