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: recipes/ci-cd/github-actions/workflows/commit.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Commit
3
-
description: How to commit files during the CI flow - using a generic Action
3
+
description: How to commit and push files during the CI flow
4
4
---
5
5
6
6
@@ -39,7 +39,9 @@ A placeholder step is used to modify files in the workspace. Replace it with som
39
39
40
40
### No action
41
41
42
-
A simple way to commit any changes on the current branch. This is slightly verbose but not too long. You know exactly what it is doing and it is easy to customize.
42
+
A simple way to commit any changes on the current branch and push changes.
43
+
44
+
This is slightly verbose but not too long. You know exactly what it is doing and it is easy to customize.
43
45
44
46
-`main.yml`
45
47
```yaml
@@ -54,13 +56,13 @@ A simple way to commit any changes on the current branch. This is slightly verbo
54
56
id: git-check
55
57
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
0 commit comments