release-drafter.yml 980 B

1234567891011121314151617181920212223242526272829
  1. name: Release Drafter
  2. on:
  3. push:
  4. # branches to consider in the event; optional, defaults to all
  5. branches:
  6. - master
  7. # pull_request event is required only for autolabeler
  8. pull_request:
  9. # Only following types are handled by the action, but one can default to all as well
  10. types: [opened, reopened, synchronize]
  11. jobs:
  12. update_release_draft:
  13. runs-on: ubuntu-latest
  14. steps:
  15. # (Optional) GitHub Enterprise requires GHE_HOST variable set
  16. #- name: Set GHE_HOST
  17. # run: |
  18. # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
  19. # Drafts your next Release notes as Pull Requests are merged into "master"
  20. - uses: release-drafter/release-drafter@v5
  21. # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
  22. # with:
  23. # config-name: my-config.yml
  24. # disable-autolabeler: true
  25. env:
  26. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}