2021-12-17 21:36:56 +01:00
|
|
|
name: draft release
|
2021-10-04 15:28:47 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- v6
|
2022-01-05 11:56:28 +01:00
|
|
|
pull_request:
|
2023-03-02 12:30:14 +01:00
|
|
|
types: [opened, reopened, synchronize]
|
2022-01-05 11:56:28 +01:00
|
|
|
pull_request_target:
|
2023-03-02 12:30:14 +01:00
|
|
|
types: [opened, reopened, synchronize]
|
2021-10-04 15:28:47 +02:00
|
|
|
jobs:
|
|
|
|
update_release_draft:
|
2022-01-31 21:12:00 +01:00
|
|
|
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
2021-12-17 21:36:56 +01:00
|
|
|
runs-on: ubuntu-latest
|
2021-10-04 15:28:47 +02:00
|
|
|
steps:
|
2022-05-18 17:19:23 +02:00
|
|
|
- uses: release-drafter/release-drafter@v5
|
2021-10-04 15:28:47 +02:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|