diff --git a/.github/workflows/release-draft.yaml b/.github/workflows/release-draft.yaml new file mode 100644 index 0000000..bb3883a --- /dev/null +++ b/.github/workflows/release-draft.yaml @@ -0,0 +1,28 @@ +--- +name: release-draft +run-name: release-draft-${{ github.event.number }} + +on: + push: + branches: + - main + pull_request: + types: [opened, reopened, synchronize] + pull_request_target: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + config-name: release-drafter.yaml \ No newline at end of file