File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ on: # yamllint disable-line rule:truthy
17
17
pull_request :
18
18
paths-ignore : # NOTE: cannot be combined with "paths"
19
19
- docs/**.rst
20
+ types :
21
+ - opened # default
22
+ - synchronize # default
23
+ - reopened # default
24
+ - ready_for_review # used in PRs created from the release workflow
20
25
workflow_dispatch :
21
26
inputs :
22
27
release-version :
@@ -1737,6 +1742,7 @@ jobs:
1737
1742
Automated changelog generation with the version
1738
1743
${{ needs.pre-setup.outputs.dist-version }}.
1739
1744
PULL_REQUEST_BRANCH : ${{ github.event.repository.default_branch }}
1745
+ PULL_REQUEST_DRAFT : true
1740
1746
PULL_REQUEST_FROM_BRANCH : >-
1741
1747
release/${{ needs.pre-setup.outputs.dist-version }}
1742
1748
PULL_REQUEST_TITLE : >-
@@ -1745,6 +1751,14 @@ jobs:
1745
1751
run : |
1746
1752
echo "PR number: ${{ steps.pr.outputs.pull_request_number }}"
1747
1753
echo "PR URL: ${{ steps.pr.outputs.pull_request_url }}"
1754
+ - name : Instruct the maintainers to trigger CI by undrafting the PR
1755
+ env :
1756
+ GITHUB_TOKEN : ${{ github.token }}
1757
+ run : >-
1758
+ gh pr comment
1759
+ --body 'Please mark the PR as ready for review to trigger PR checks.'
1760
+ --repo '${{ github.repository }}'
1761
+ '${{ steps.pr.outputs.pull_request_number }}'
1748
1762
1749
1763
publish-github-release :
1750
1764
name : >-
You can’t perform that action at this time.
0 commit comments