12345678910111213141516171819202122 |
- name: Release Drafter
- on:
- push:
- branches:
- - main
- pull_request:
- types: [opened, reopened, synchronize]
- permissions:
- contents: read
- 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:
- - uses: release-drafter/release-drafter@v5
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|