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 602528e commit 195c38fCopy full SHA for 195c38f
.github/workflows/deprecations-bot.yml
@@ -1,16 +1,11 @@
1
name: Deprecations Bot
2
3
on:
4
- push:
5
- branches:
6
- - main
7
- - 2.0.x
8
- - 1.5.x
9
pull_request:
10
branches:
11
- main
12
13
+ types:
+ [closed]
14
15
16
permissions:
@@ -22,7 +17,8 @@ jobs:
22
17
issues: write
23
18
if: >-
24
19
(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')
26
runs-on: ubuntu-22.04
27
steps:
28
- name: Checkout
0 commit comments