Skip to content

Commit

Permalink
fix(ci): release drafter job
Browse files Browse the repository at this point in the history
Signed-off-by: unusualpseudo <[email protected]>
  • Loading branch information
unusualpseudo committed Aug 1, 2024
1 parent 551e6e1 commit 15aef82
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
name: "Draft Release"

on:
workflow_dispatch:
push:
branches: ["main"]
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read

jobs:

update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-22.04
steps:
- name: Generate token
Expand All @@ -21,6 +28,8 @@ jobs:
- name: Prepare release draft
uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 # v6.0.0
with:
commitish: main
config-name: release-drafter.yaml
disable-autolabeler: false
env:
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}"

0 comments on commit 15aef82

Please sign in to comment.