Skip to content

Commit

Permalink
Remove debug, add PR permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexsandruss committed Sep 26, 2024
1 parent 08e3583 commit f7ed9a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr-checklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
pull_request:
types: [opened, edited, synchronize]

permissions:
pull-requests: write

jobs:
checklist:
runs-on: ubuntu-24.04
Expand All @@ -41,8 +44,6 @@ jobs:
- name: Check if PR is not draft
id: is-not-draft
run: |
echo "DRAFT: ${{ steps.pr.outputs.draft }}"
echo "BODY: ${{ steps.pr.outputs.body }}"
if [ "${{ steps.pr.outputs.draft }}" = "true" ]; then
echo "PR is in draft state. Exiting."
exit 0
Expand Down

0 comments on commit f7ed9a0

Please sign in to comment.