Slight change to curl for PR list.
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
-X 'GET' \
|
-X 'GET' \
|
||||||
-H 'Accept: application/json' \
|
-H 'Accept: application/json' \
|
||||||
-H 'Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}' \
|
-H 'Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}' \
|
||||||
-s | jq '{index: .number, state: .state}')
|
-sS | jq '{index: .number, state: .state}')
|
||||||
pr_state=$(echo ${pr_check} | jq -r '.state')
|
pr_state=$(echo ${pr_check} | jq -r '.state')
|
||||||
|
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
|
|||||||
Reference in New Issue
Block a user