You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-30Lines changed: 12 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,13 @@
1
-
# 🚀 GitHub Action for Committing Changes to Repository
2
-
1
+
# 🚀 GitHub Action for committing changes to repository
3
2
**Powerful GitHub Action for automatically committing and pushing changes back to your repository.**
4
3
5
-
**Perfect for automation workflows and integrates seamlessly with [devops-infra/action-pull-request](https://github.com/devops-infra/action-pull-request).**
-**📝 Custom commit messages:** Add custom prefixes and messages to commits
24
12
-**🌿 Branch management:** Create new branches automatically with optional timestamps
25
13
-**⏰ Timestamp support:** Add timestamps to branch names for cron-based updates
@@ -28,8 +16,11 @@
28
16
-**🔀 Pull request integration:** Perfect companion for automated PR workflows
29
17
30
18
31
-
## 📊 Badges
19
+
## 🔗 Related Actions
20
+
**Perfect for automation workflows and integrates seamlessly with [devops-infra/action-pull-request](https://github.com/devops-infra/action-pull-request).**

| `files_changed` | List of changed files, as returned by `git diff --staged --name-status`. |
@@ -91,7 +87,6 @@
91
87
## 💻 Usage Examples
92
88
93
89
### 📝 Basic Example
94
-
95
90
Commit and push changes to the currently checked out branch.
96
91
97
92
```yaml
@@ -116,7 +111,6 @@ jobs:
116
111
```
117
112
118
113
### 🔀 Advanced Example
119
-
120
114
Commit and push changes to a new branch and create a pull request using [devops-infra/action-pull-request](https://github.com/devops-infra/action-pull-request).
121
115
122
116
```yaml
@@ -150,7 +144,6 @@ jobs:
150
144
151
145
152
146
### 💪 Force Push Example
153
-
154
147
When you need to amend the previous commit and force push (useful when adding automatic changes to manual commit).
155
148
156
149
```yaml
@@ -185,7 +178,6 @@ jobs:
185
178
```
186
179
187
180
## 📝 Amend Options
188
-
189
181
When using `amend: true`, you have several options for handling the commit message:
190
182
191
183
1. **Change the commit message**: Set `commit_message` to provide a new message
@@ -214,7 +206,6 @@ When using `amend: true`, you have several options for handling the commit messa
214
206
215
207
216
208
## ⚠️ Force Push Options
217
-
218
209
This action provides two force push options for different scenarios:
219
210
220
211
### 🛡️ `force_with_lease` (Recommended)
@@ -234,7 +225,6 @@ This action provides two force push options for different scenarios:
0 commit comments