mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-21 23:03:04 -05:00
chore(ci): set the milestone when a pull request is closed (take 4)
The milestone can only be determined to be final when a pull request
is merged.
It is possible that a pull request is opened during the development of
v10 and merged after it is published.
It is also possible that it is permanently closed without being merged.
(cherry picked from commit 6f53f7d007
)
This commit is contained in:
parent
e9381b63be
commit
a23de662eb
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue