Skip to content

Commit 195c38f

Browse files
committed
Update
1 parent 602528e commit 195c38f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/deprecations-bot.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
name: Deprecations Bot
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
- 2.0.x
8-
- 1.5.x
94
pull_request:
105
branches:
116
- main
12-
- 2.0.x
13-
- 1.5.x
7+
types:
8+
[closed]
149

1510

1611
permissions:
@@ -22,7 +17,8 @@ jobs:
2217
issues: write
2318
if: >-
2419
(github.event_name == 'pull_request' &&
25-
contains(github.event.pull_request.labels.*.name, 'Deprecate'))
20+
contains(github.event.pull_request.labels.*.name, 'Deprecate') &&
21+
github.event.pull_request.merged == 'true')
2622
runs-on: ubuntu-22.04
2723
steps:
2824
- name: Checkout

0 commit comments

Comments
 (0)