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