mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 16:28:52 +00:00
pr-check: Fix COMMIT_COUNT command substitution
This commit is contained in:
@@ -132,7 +132,7 @@ jobs:
|
||||
|
||||
PR_FILES=$(gh pr view "$PR_NUM" --json files --jq '.files[].path')
|
||||
|
||||
COMMIT_COUNT="(gh api repos/$GH_REPO/pulls/$PR_NUM --jq '.commits' 2>/dev/null)"
|
||||
COMMIT_COUNT="$(gh api repos/$GH_REPO/pulls/$PR_NUM --jq '.commits' 2>/dev/null)"
|
||||
|
||||
CONTAINS_MASTER=$(gh api repos/$GH_REPO/pulls/$PR_NUM/commits --jq '.[1] | (.commit.author.email == "mclasen@redhat.com" and .commit.message == "Add some instructions")' 2>/dev/null)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user