-
Notifications
You must be signed in to change notification settings - Fork 65
39 lines (37 loc) · 1.17 KB
/
submodule-sync.yml
File metadata and controls
39 lines (37 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Sync submodule pipeline
on:
push:
branches: [ submodule ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: azure-functions-python-library
submodules: true
- id: Go to submodule
run: |
cd azure/functions/durable
git submodule update --remote --merge
git add .
- name: Create Pull Request
id: createPullRequest
uses: peter-evans/create-pull-request@v4
with:
commit-message: Update durable submodule
committer: GitHub <noreply@github.com>
branch: submodule-sync
delete-branch: true
title: 'Update durable submodule'
body: |
Updated submodule
[1]: https://github.com/peter-evans/create-pull-request
labels: |
required submodule update
automated pr
reviewers: vameru
- name: Check outputs
run: |
echo "Pull Request Number - ${{ steps.createPullRequest.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.createPullRequest.outputs.pull-request-url }}"