Update the milestone during issue report creation for docs repo

calling the existing action
This commit is contained in:
Harrissou Sant-anna 2024-05-14 13:41:58 +02:00 committed by Nyall Dawson
parent d0d54a049c
commit b6ab304f91
2 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
name: 📅 Auto set milestone on PR
on:
workflow_call:
pull_request_target:
types:
- opened

View File

@ -76,6 +76,12 @@ jobs:
reactions: '+1'
update-milestone:
if: github.event.pull_request.merged && ( ( github.event.action == 'closed' && contains( github.event.pull_request.labels.*.name, 'Needs Documentation') ) || github.event.label.name == 'Needs Documentation' )
# Update the milestone (if necessary)
name: Update final milestone
uses: ./.github/workflows/pr-auto-milestone.yml
create-doc-issue:
if: github.event.pull_request.merged && ( ( github.event.action == 'closed' && contains( github.event.pull_request.labels.*.name, 'Needs Documentation') ) || github.event.label.name == 'Needs Documentation' )
runs-on: ubuntu-latest