ethanthatonekid/Modify
On dispatch, based on given input data, make generic updates/modifications (and add/replace/delete static files to a github repository) in a new dev branch and also create a PR on the target branch in a repository all given in the action inputs.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 5, 2023
- License
- MIT
Pinned Snippet
uses: ethanthatonekid/modify@045c235fd3af679ba03fdb03c3086c9ebf168b16 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| modifications | The modifications data in an array of dictionaries where each dictionary with types file, add, set, replace, and delete using a switch case statement. | yes | — |
| repository | The name of the target repository in the format "owner/repo". | yes | — |
| pr-title | The title of the pull request to be created. | — | Automated Modifications |
| pr-body | The body of the pull request to be created. | — | This pull request was created automatically by the Modify action. |
| pr-assignees | The list of GitHub usernames to assign to the pull request. | — | "" |
| pr-reviewers | The list of GitHub usernames to request review from for the pull request. | — | "" |
| pr-labels | The list of labels to add to the pull request. | — | "" |
| pr-draft | Whether the pull request should be created as a draft. | — | false |
| target-branch | The name of the target branch to merge the pull request into. | — | main |
| current-branch | The name of the branch to create the pull request from. | — | modify-action |
Outputs
| name | description |
|---|---|
| MODIFICATIONS_COUNT | The number of modifications made to the repository. |