get info with curl
This commit is contained in:
parent
5953870b83
commit
5cadfdad35
1 changed files with 2 additions and 2 deletions
|
@ -47,11 +47,11 @@ jobs:
|
||||||
FORGE_REPO_USER: ${{ vars.FORGE_REPO_USER }}
|
FORGE_REPO_USER: ${{ vars.FORGE_REPO_USER }}
|
||||||
steps:
|
steps:
|
||||||
- name: Setting up environment
|
- name: Setting up environment
|
||||||
run: apk add nodejs curl findutils git gawk
|
run: apk add nodejs curl findutils git gawk jq
|
||||||
- name: Repo pull
|
- name: Repo pull
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Package download
|
- name: Package download
|
||||||
uses: forgejo/download-artifact@v3
|
uses: forgejo/download-artifact@v3
|
||||||
- name: Package deployment
|
- name: Package deployment
|
||||||
run: echo ${{ github.event.pull_request.draft }}
|
run: curl -s $GITUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }} | jq .draft
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue