Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bitcartel committed Apr 20, 2024
1 parent d2fb371 commit 9cb820c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
test-pr-merge:
name: 'test pull request (merge commit)'
runs-on: ubuntu-22.04
if: github.event_name == 'pull_request' # && github.event.pull_request.commits != 1
# if: github.event_name == 'pull_request' # && github.event.pull_request.commits != 1
timeout-minutes: 360 # Use maximum time, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes. Assuming a worst case time of 1 hour per commit, this leads to a --max-count=6 below.
# env:
# MAX_COUNT: 6
steps:
# - name: Determine fetch depth
# run: echo "FETCH_DEPTH=$((${{ github.event.pull_request.commits }} + 2))" >> "$GITHUB_ENV"
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: ${{ env.FETCH_DEPTH }}
# - name: Determine commit range
# run: |
Expand Down

0 comments on commit 9cb820c

Please sign in to comment.