Debug: removed grep

This commit is contained in:
Mariusz Kliber
2022-11-30 17:04:25 +00:00
parent 6357539da5
commit 09c7ef4639

View File

@@ -18,7 +18,7 @@ jobs:
run: |
set +eo pipefail
echo "Testing API calls"
gh api -i /repos/github/codeql | grep X-Oauth-Scopes
gh api -i /repos/github/codeql
echo "Checking if user $USERNAME is a member of the CodeQL team"
if [ "$(gh api "/orgs/github/teams/codeql/memberships/$USERNAME" --jq .state)" == "active" ]; then
echo "User $USERNAME is a member of the CodeQL team"