Skip to content

Repository files navigation

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).

About

GitHub Action for determining updated commit ranges based on workflow's event payloads

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages