Merge pull request 'chore(ci): set the milestone when a pull request is closed (take 4)' (#6223) from earl-warren/forgejo:wip-milestones into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6223
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
Earl Warren 2024-12-10 06:20:39 +00:00
commit e6629fa5d1

View file

@ -6,11 +6,11 @@ name: milestone
on:
pull_request_target:
types:
- opened
- closed
jobs:
set:
if: vars.ROLE == 'forgejo-coding'
if: vars.ROLE == 'forgejo-coding' && github.event.pull_request.merged
runs-on: docker
container:
image: 'code.forgejo.org/oci/ci:1'