Skip to content

Commit

Permalink
fix flags
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-sorrentino committed Aug 31, 2024
1 parent e7db2c9 commit 1cd659a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bypass-css-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
AUTHOR=$(gh pr view ${{ github.event.pull_request.number }} --json author --jq '.author.login')
ADMIN_CHECK=$(gh api orgs/${{ github.repository_owner }}/members/$AUTHOR --silent --jq '.role')
ADMIN_CHECK=$(gh api orgs/${{ github.repository_owner }}/members/$AUTHOR --jq '.role')
if [ "$ADMIN_CHECK" != "admin" ]; then
echo "User is not an admin. Exiting."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bypass-version-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
AUTHOR=$(gh pr view ${{ github.event.pull_request.number }} --json author --jq '.author.login')
ADMIN_CHECK=$(gh api orgs/${{ github.repository_owner }}/members/$AUTHOR --silent --jq '.role')
ADMIN_CHECK=$(gh api orgs/${{ github.repository_owner }}/members/$AUTHOR --jq '.role')
if [ "$ADMIN_CHECK" != "admin" ]; then
echo "User is not an admin. Exiting."
exit 1
Expand Down

0 comments on commit 1cd659a

Please sign in to comment.