File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 14
14
branches :
15
15
- main
16
16
- " [0-9]+.[0-9]+.x"
17
+ types :
18
+ - opened # default
19
+ - synchronize # default
20
+ - reopened # default
21
+ - ready_for_review # used in PRs created from the release workflow
17
22
18
23
env :
19
24
PYTEST_ADDOPTS : " --color=yes"
Original file line number Diff line number Diff line change 46
46
run : python scripts/update-plugin-list.py
47
47
48
48
- name : Create Pull Request
49
+ id : pr
49
50
uses : peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e
50
51
with :
51
52
commit-message : ' [automated] Update plugin list'
55
56
branch-suffix : short-commit-hash
56
57
title : ' [automated] Update plugin list'
57
58
body : ' [automated] Update plugin list'
59
+ draft : true
60
+
61
+ - name : Instruct the maintainers to trigger CI by undrafting the PR
62
+ env :
63
+ GITHUB_TOKEN : ${{ github.token }}
64
+ run : >-
65
+ gh pr comment
66
+ --body 'Please mark the PR as ready for review to trigger PR checks.'
67
+ --repo '${{ github.repository }}'
68
+ '${{ steps.pr.outputs.pull-request-number }}'
Original file line number Diff line number Diff line change
1
+ The UX of the GitHub automation making pull requests to update the
2
+ plugin list has been updated. Previously, the maintainers had to close
3
+ the automatically created pull requests and re-open them to trigger the
4
+ CI runs. From now on, they only need to click the `Ready for review `
5
+ button instead.
6
+
7
+ -- by :user: `webknjaz `.
You can’t perform that action at this time.
0 commit comments