shifted Cholesky QR algorithm #1207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: external_pr_mirror | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
push: | |
if: github.event.pull_request.head.repo.owner.login != 'pymor' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git push --force origin HEAD:refs/heads/external_pr_${{github.event.pull_request.number}} | |
comment: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.repo.owner.login != 'pymor' && github.event.action | |
== 'opened' | |
steps: | |
- uses: actions/github-script@v6 | |
with: | |
script: |- | |
await github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: `Mirroring external branch in external_pr_${{github.event.pull_request.number}}` | |
}) |