File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Sync submodule pipeline
2
+
3
+ on :
4
+ push :
5
+ branches : [ submodule ]
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ with :
12
+ repository : azure-functions-python-library
13
+ submodules : true
14
+ - id : Go to submodule
15
+ run : |
16
+ cd azure/functions/durable
17
+ git submodule update --remote --merge
18
+ git add .
19
+ - name : Create Pull Request
20
+ id : createPullRequest
21
+ uses : peter-evans/create-pull-request@v4
22
+ with :
23
+ commit-message : Update durable submodule
24
+ committer :
GitHub <[email protected] >
25
+ branch : submodule-sync
26
+ delete-branch : true
27
+ title : ' Update durable submodule'
28
+ body : |
29
+ Updated submodule
30
+
31
+ [1]: https://github.com/peter-evans/create-pull-request
32
+ labels : |
33
+ required submodule update
34
+ automated pr
35
+ reviewers : vameru
36
+ - name : Check outputs
37
+ run : |
38
+ echo "Pull Request Number - ${{ steps.createPullRequest.outputs.pull-request-number }}"
39
+ echo "Pull Request URL - ${{ steps.createPullRequest.outputs.pull-request-url }}"
You can’t perform that action at this time.
0 commit comments