Skip to content

Commit

Permalink
add pull_request_target as release-drafter workflow trigger (#128)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Artem Bortnikov <[email protected]>
  • Loading branch information
aobort authored Apr 11, 2024
1 parent f285240 commit 6d2fc04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ autolabeler:
- label: 'dependencies'
branch:
- '/deps\/.+/'
- '/renovate\/.+/'
- label: 'documentation'
files:
- '**/*.md'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ name: Release Drafter

on:
workflow_dispatch:
pull_request_target:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
update_release_draft:
runs-on: ubuntu-22.04
Expand All @@ -18,5 +15,6 @@ jobs:
with:
disable-releaser: github.ref != 'refs/heads/main'
config-name: release-drafter.yml
commitish: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6d2fc04

Please sign in to comment.