Skip to content

Commit

Permalink
skip
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Feb 13, 2024
1 parent 8013cde commit 7f52338
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/towncrier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,21 @@ jobs:
- name: Detect the missing Release Notes entry
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
run: |
labels="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')"
status=false
case $labels in
*no-release-notes*)
echo "No release notes entry expected."
exit 0
;;
esac
for file in ${ALL_CHANGED_FILES}; do
case $file in
*release-notes-next*)
Expand Down

0 comments on commit 7f52338

Please sign in to comment.