Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonhull committed Aug 13, 2024
1 parent d33c302 commit f55f0d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ jobs:
echo "Changie entry found"
comment="✅ changie entry was found"
if ! gh pr view ${{ github.event.pull_request.number }} --comments | grep -q "✅ changie entry was found"; then
gh pr review ${{ github.event.pull_request.number }} --comment --body "$comment"
gh pr review ${{ github.event.pull_request.number }} --approve
gh pr review ${{ github.event.pull_request.number }} --comment --body "$comment"
fi
else
echo "No changie entry found in .changes"
Expand All @@ -117,7 +118,8 @@ jobs:
fi
fi
if [[ -n "$comment" ]]; then
gh pr review ${{ github.event.pull_request.number }} --comment --body "$comment" --approve
gh pr review ${{ github.event.pull_request.number }} --approve
gh pr review ${{ github.event.pull_request.number }} --comment --body "$comment"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f55f0d8

Please sign in to comment.