Skip to content

Release drafter fix and autolabeling #508

Release drafter fix and autolabeling

Release drafter fix and autolabeling #508

name: Release Drafter
on:
pull_request:
types: [opened, reopened, synchronize, closed]
jobs:
update_release_draft:
permissions:
contents: write # for release-drafter/release-drafter to create a github release
pull-requests: write # for release-drafter/release-drafter to add label to PR
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: release-drafter/release-drafter@v6 # v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commitish: ${{ github.event.pull_request.base.ref }}