use jq
This commit is contained in:
parent
e37f9052e6
commit
135a82f566
1 changed files with 2 additions and 2 deletions
|
@ -22,6 +22,6 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Package deployment
|
||||
run: |
|
||||
echo $GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }}
|
||||
curl $GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }}
|
||||
echo $GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/pulls/${{ github.event.number }}
|
||||
curl -s $GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/pulls/${{ github.event.number }} | jq .draft
|
||||
|
||||
|
|
Loading…
Reference in a new issue