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 8821f7c commit 6ad0a71
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
run: |
if [[ -d ".changes" ]]; then
echo "changes_dir_exists=true" >> $GITHUB_OUTPUT
echo "⏩ no changie entry required on this"
else
echo "changes_dir_exists=false" >> $GITHUB_OUTPUT
echo "⏩ no changie entry required on this"
fi
- name: Check for labels
Expand All @@ -83,11 +83,13 @@ jobs:
run: |
if [[ -z "$(ls -A .changes/unreleased)" ]]; then
echo "No changie entry found in .changes/unreleased"
gh pr comment ${{ github.event.pull_request.number }} --body "A changie entry is required in .changes/unreleased" --edit-last
exit 1
comment="A changie entry is required in .changes/unreleased"
else
echo "Changie entry found"
echo "✅ showing changie entry was found"
comment="✅ showing changie entry was found"
fi
if [[ -n "$comment" ]]; then
gh pr comment ${{ github.event.pull_request.number }} --body "$comment" --edit-last
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6ad0a71

Please sign in to comment.