1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
name: Fix inclusions of ql headers in double quotes
on:
push:
branches-ignore:
- 'dependabot/**'
jobs:
check-includes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Check
run: |
shopt -s globstar
sed -i -E -e 's|#include *"(ql/.*\.hpp)"|#include <\1>|g' **/*.[hc]pp
- uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.MACHINE_ACCOUNT_PAT }}
push-to-fork: ${{ vars.MACHINE_ACCOUNT }}/QuantLib
branch: fix-include-in-quotes-${{ github.ref_name }}
delete-branch: true
commit-message: 'Fix inclusions of ql headers in double quotes'
title: 'Fix inclusions of ql headers in double quotes'
author: lballabio[bot] <224797326+lballabio-bot@users.noreply.github.com>
|