We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaaaa29 commit 8b67f6cCopy full SHA for 8b67f6c
.github/workflows/handle-release-pr-title-edit.yml
@@ -0,0 +1,23 @@
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 }}
0 commit comments