Skip to content

Commit

Permalink
Fix release drafts (#1423)
Browse files Browse the repository at this point in the history
* Fix release drafts

* fix require
  • Loading branch information
danepowell committed Mar 14, 2023
1 parent ef5d185 commit d9255d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
permissions:
pull-requests: write
if: github.event_name == 'pull_request_target' && github.event.action == 'opened'
if: github.event_name == 'pull_request_target'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR: ${{ github.event.pull_request.number }}
Expand Down Expand Up @@ -58,7 +58,6 @@ jobs:
GITHUB_PR: ${{ github.event.pull_request.number }}
update_release_draft:
runs-on: ubuntu-22.04
needs: require_label
permissions:
contents: write
pull-requests: write
Expand Down

0 comments on commit d9255d2

Please sign in to comment.