File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,14 @@ name: Update the UML Diagrams
2
2
3
3
on :
4
4
pull_request :
5
+ types : [closed]
5
6
branches : [main]
6
- # paths:
7
- # - "causalpy/**"
8
- push :
9
- branches : [main]
10
- # paths:
11
- # - "causalpy/**"
7
+ paths :
8
+ - " causalpy/**"
12
9
13
10
jobs :
14
11
build :
12
+ if : github.event.pull_request.merged == true
15
13
runs-on : ubuntu-latest
16
14
permissions : write-all
17
15
steps :
@@ -21,20 +19,11 @@ jobs:
21
19
ref : ${{ github.head_ref || 'main' }}
22
20
repository : ${{ github.event.pull_request.head.repo.full_name }}
23
21
24
-
25
22
- name : Set up Python
26
23
uses : actions/setup-python@v2
27
24
with :
28
25
python-version : " 3.10"
29
26
30
- - name : Echo the git status
31
- run : |
32
- git status
33
-
34
- - name : Echo remotes
35
- run : |
36
- git remote -v
37
-
38
27
- name : Configure Git Identity
39
28
run : |
40
29
git config user.name "$(git log -n 1 --pretty=format:%an)"
You can’t perform that action at this time.
0 commit comments