Skip to content

Action fails above a certain number of commits #7

Open
@endreymarcell-wise

Description

@endreymarcell-wise

I'm running this action on pull requests, right after grabbing the commits themselves using the get-pr-commits action. However, after reaching a certain number of commits (around 30), the action starts failing due to the excessive number of arguments:

Run tim-actions/[email protected]
Error: An error occurred trying to start process '/home/runner/runners/2.294.0/externals/node12/bin/node' with working directory '/home/runner/work/my-repo/my-repo'. Argument list too long

I'll be the first to admit that we should have smaller PRs... but at the same time, I'd expect the job not to fail. Maybe we can add an option to read the commit messages from a file rather than stdin?

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