Skip to content

Commit

Permalink
fix: tmp commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ggeop committed Oct 28, 2024
1 parent a264b46 commit f3db29a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Check Required Reviews
if: github.event_name == 'pull_request'
run: |
REVIEWS=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews")
APPROVED=$(echo $REVIEWS | jq '[.[] | select(.state=="APPROVED")] | length')
if [ "$APPROVED" -lt 1 ]; then
echo "Error: At least one approval is required"
exit 1
fi
- name: Run Tests
run: echo "Running tests..."

Expand Down

0 comments on commit f3db29a

Please sign in to comment.