Skip to content

fetch-depth question #1734

Open
Open
@y-nk

Description

@y-nk

I've set fetch-depth to ${{ github.event.pull_request.commits }} to avoid fetching my whole repo. The action executes like this:

image

So then i would expect to have 12 commits (11 + the merge commit) in the rev-list, but i get much more than this.

image

not sure why. could somebody tell me if it's normal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions