mirror of https://github.com/rq/rq.git
fix query request of issue listing (#1519)
Co-authored-by: rpkak <rpkak@users.noreply.github.com>
This commit is contained in:
parent
adc03e8119
commit
643a26b991
|
@ -97,7 +97,7 @@ jobs:
|
||||||
|
|
||||||
- name: Create failure issue
|
- name: Create failure issue
|
||||||
run: |
|
run: |
|
||||||
if [[ "$(curl --url https://api.github.com/repos/${{ github.repository }}/issues --request GET --data '{"creator": "github-actions"}')" != *"\""* ]]
|
if [[ "$(curl --url https://api.github.com/repos/${{ github.repository }}/issues?creator=github-actions --request GET)" != *"\""* ]]
|
||||||
then curl --request POST \
|
then curl --request POST \
|
||||||
--url https://api.github.com/repos/${{ github.repository }}/issues \
|
--url https://api.github.com/repos/${{ github.repository }}/issues \
|
||||||
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
|
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
|
||||||
|
|
Loading…
Reference in New Issue