Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 920 Bytes

File metadata and controls

36 lines (29 loc) · 920 Bytes

Commit Range Action

This action determines updated commit ranges based on workflow's event payloads.

Possible use cases for the computed outputs are:

Usage

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - name: compute updated commit range
        uses: eaasi/commit-range-action@v0.5
        id: commit-range
      - name: check out repository
        uses: actions/checkout@v4
        with:
          fetch-depth: ${{ steps.commit-range.outputs.fetch-depth }}

License

This project is licensed under the Apache-2.0 license.

Copyright (c) 2025 Yale University (unless otherwise noted).