Skip to content

Commit

Permalink
fix labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Jul 14, 2022
1 parent 9dcffed commit 38555a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
pull-requests: read
if: github.event_name == 'pull_request_target'
steps:
- run: gh pr view --json labels https://github.com/$GITHUB_REPOSITORY/pull/$GITHUB_PR | jq -r '.labels[0].name' | grep -q 'null' && echo "You must apply at least one label" && exit 1
- run: gh pr view --json labels https://github.com/$GITHUB_REPOSITORY/pull/$GITHUB_PR | jq -r '.labels[0].name' | grep -q 'null' && echo "You must apply at least one label" && exit 1 || exit 0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR: ${{ steps.source-run-info.outputs.pullRequestNumber }}
GITHUB_PR: ${{ github.event.pull_request.number }}
update_release_draft:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 38555a7

Please sign in to comment.