File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : sync-notes
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ schedule :
9
+ - cron : " 0 0 12 * *"
10
+
11
+ jobs :
12
+ sync-notes :
13
+ runs-on : ubuntu-latest
14
+ name : " Sync latest notes"
15
+ steps :
16
+ - name : " Check out"
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Checkout submodules
20
+ run : git submodule update --remote
21
+
22
+ - name : Create Pull Request
23
+ id : cpr
24
+ uses : peter-evans/create-pull-request@v3
25
+ with :
26
+ commit-message : sync with josix-kg ${{ env.LATEST_COMMIT_ID }}
27
+ branch : latest-note
28
+ title : ' Sync with latest notes'
29
+ body : |
30
+ Sync with latest notes
31
+ labels : |
32
+ sync-notess
33
+ automation
34
+
35
+ - name : Check outputs
36
+ run : |
37
+ echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
38
+ echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
You can’t perform that action at this time.
0 commit comments