name: draft release on: push: branches: - v6 pull_request: types: [ opened, reopened, synchronize ] pull_request_target: types: [ opened, reopened, synchronize ] jobs: update_release_draft: runs-on: ubuntu-latest steps: - uses: release-drafter/release-drafter@v5.17.5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}