get info with curl

This commit is contained in:
Antoine Martin 2024-08-22 23:30:15 -04:00
parent 5953870b83
commit 5cadfdad35
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -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