Force PR creation if the commits are made by the script

Open
#143 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, go
Domain
cli

Research direction

No files or tests are named in the issue. Start by locating the CLI path that skips unchanged work, then define and verify the requested force option so it pushes script-created commits and opens a pull request even when no change is detected.

Written by the indexing model from the issue text.

Description

enhancement

Use case: our scripts already make the commits like we want them (GPG signed), but if no change is detected, git-xargs will skip.

Somehow similar to: https://github.com/gruntwork-io/git-xargs/issues/39

Describe the solution you'd like
a flag to force the push and PR creation

Describe alternatives you've considered
Modifying the commits created by git-xargs after the fact

Additional context
This allows GPG signatures, like proposed in https://github.com/gruntwork-io/git-xargs/pull/140, as well as chain of commits if an more understandable git history is desired.

Dominant language
Go
Stars
1.1k
Forks
75
Avg merge
22h 5m
Merged PRs (30d)
4

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from gruntwork-io/git-xargs

All issues in gruntwork-io/git-xargs

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.