diff --git a/.forgejo/workflows/milestone.yml b/.forgejo/workflows/milestone.yml index 2a2553710e..56bd7ba28d 100644 --- a/.forgejo/workflows/milestone.yml +++ b/.forgejo/workflows/milestone.yml @@ -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'