Skip to content

Commit

Permalink
Simplify drafter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gaby authored Sep 17, 2023
1 parent 5ff6b97 commit c344287
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
push:
branches:
- main
pull_request: # Autolabel PRs
types: [opened, reopened, unlabeled, synchronize]
pull_request_target: # Autolabel PRs from forks
types: [opened, reopened, unlabeled, synchronize]
pull_request_target:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
Expand All @@ -17,7 +18,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
commitish: main # default repo branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c344287

Please sign in to comment.