Skip to content

Commit

Permalink
pull more commits
Browse files Browse the repository at this point in the history
  • Loading branch information
satreix committed Nov 22, 2022
1 parent b9fbdd9 commit 0e5532a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: CI

on:
push:
pull_request:
branches:
- main
- release-*
tags:
- '*.*.*'
pull_request:

jobs:
check:
Expand All @@ -20,7 +16,14 @@ jobs:
name: check - (${{ matrix.platform }})
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: 'PR commits + 1'
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"

- name: 'Checkout PR branch and PR commits'
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: ${{ env.PR_FETCH_DEPTH }}

# Ruby rules use host install still: https://github.com/bazelruby/rules_ruby/issues/112
- name: Setup Ruby
Expand Down

0 comments on commit 0e5532a

Please sign in to comment.