Skip to content

Commit

Permalink
Try to merge base in a PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ximinez committed Jun 30, 2023
1 parent 6b7233c commit c229a71
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 50
- name: merge with base
if: github.base_ref != ''
shell: bash
run: |
# If there are any conflicts, leave them, so the build will
# fail. However, Github will probably prevent the job from
# running at all.
git log --oneline
git merge --no-commit --no-edit -v \
${{ github.event.pull_request.base.sha }}
git diff || true
- name: install Ninja
if: matrix.generator == 'Ninja'
run: brew install ninja
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@ jobs:
ls ~/.conan
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 50
- name: merge with base
if: github.base_ref != ''
shell: bash
run: |
# If there are any conflicts, leave them, so the build will
# fail. However, Github will probably prevent the job from
# running at all.
git log --oneline
git merge --no-commit --no-edit -v \
${{ github.event.pull_request.base.sha }}
git diff || true
- name: build
uses: ./.github/actions/build
with:
Expand Down

0 comments on commit c229a71

Please sign in to comment.