We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ba885 commit 545e644Copy full SHA for 545e644
check-commits.sh
@@ -44,11 +44,10 @@ err() {
44
}
45
46
check_issue() {
47
- json=$(curl -f -X GET -L --no-progress-meter \
+ curl -f -X GET -L --no-progress-meter \
48
-H "Accept: application/vnd.github+json" \
49
-H "X-GitHub-Api-Version: 2022-11-28" \
50
- "$api_url/issues/${1##*/}") || return 1
51
- test $(echo "$json" | jq -r .state) = open
+ "$api_url/issues/${1##*/}") | jq -r .state | grep -Fx open
52
53
54
for rev in $revisions; do
0 commit comments