We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c40b1 commit 12fb10dCopy full SHA for 12fb10d
1 file changed
.github/workflows/namespace_declarations.yml
@@ -21,9 +21,11 @@ name: namespace_declarations
21
22
# Workflow triggers:
23
on:
24
- push:
+ pull_request:
25
branches:
26
- develop
27
+ types:
28
+ - closed
29
paths:
30
# List paths for which changes should trigger this workflow:
31
- 'lib/**/types/index.d.ts'
@@ -40,6 +42,9 @@ jobs:
40
42
# Define a display name:
41
43
name: 'Update TypeScript Declarations'
44
45
+ # Only run this job if the pull request was merged:
46
+ if: github.event.pull_request.merged == true
47
+
48
# Define the type of virtual host machine:
49
runs-on: ubuntu-latest
50
0 commit comments