-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (34 loc) · 1.37 KB
/
build_with_quantlib_latest.yml
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
40
name: Build with the latest QuantLib and QuantLib-SWIG changes
on:
workflow_dispatch: {}
schedule:
- cron: '23 2 * * *'
jobs:
push-latest:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Checkout master of QuantLib
working-directory: "external/QuantLib"
run: |
git checkout master
git pull
- name: Checkout master of QuantLib-SWIG
working-directory: "external/QuantLib-SWIG"
run: |
git checkout master
git pull
- uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
branch: merge-quantlib-latest-${{ github.ref_name }}
delete-branch: true
commit-message: 'Automated update to the latest commits from QuantLib and Quantlib-SWIG'
title: 'Automated update to the latest commits from QuantLib and Quantlib-SWIG'
body: |
This is an automated PR generated by the [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
Please review the changes before merging.