2021-12-20 22:12:04 +01:00
|
|
|
name: draft release
|
2021-11-22 09:44:24 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-12-20 22:20:41 +01:00
|
|
|
- main
|
2022-01-05 23:49:36 +01:00
|
|
|
pull_request:
|
2023-03-06 13:51:53 +01:00
|
|
|
types: [opened, reopened, synchronize]
|
2022-01-05 23:49:36 +01:00
|
|
|
pull_request_target:
|
2023-03-06 13:51:53 +01:00
|
|
|
types: [opened, reopened, synchronize]
|
2021-11-22 09:44:24 +01:00
|
|
|
jobs:
|
|
|
|
update_release_draft:
|
2022-01-31 21:13:44 +01:00
|
|
|
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
2021-12-20 22:12:04 +01:00
|
|
|
runs-on: ubuntu-latest
|
2021-11-22 09:44:24 +01:00
|
|
|
steps:
|
2022-05-18 17:21:27 +02:00
|
|
|
- uses: release-drafter/release-drafter@v5
|
2021-11-22 09:44:24 +01:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|