File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Handle release PR title edits
2
+ on :
3
+ pull_request :
4
+ types :
5
+ - edited
6
+ - unlabeled
7
+
8
+ jobs :
9
+ update_pr_content :
10
+ name : Update pull request content
11
+ if : |
12
+ (github.event.type == 'edited' && github.event.changes.title.from != github.event.pull_request.title) ||
13
+ (github.event.type == 'unlabeled' && github.event.label.name == 'autorelease: custom version') &&
14
+ github.event.pull_request.state == 'open' &&
15
+ github.event.sender.login != 'stainless-bot' &&
16
+ github.repository == 'Finch-API/finch-api-python'
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - uses : stainless-api/trigger-release-please@v1
21
+ with :
22
+ repo : ${{ github.event.repository.full_name }}
23
+ stainless-api-key : ${{ secrets.STAINLESS_API_KEY }}
You can’t perform that action at this time.
0 commit comments