|
74 | 74 | uses: devops-infra/action-commit-push@master |
75 | 75 | with: |
76 | 76 | github_token: ${{ secrets.GITHUB_TOKEN }} |
77 | | - commit_message: "[E2E] Basic commit test" |
| 77 | + commit_message: "test(commit-push): basic commit test" |
78 | 78 | target_branch: test/e2e-commit-push-basic-${{ github.run_id }} |
79 | 79 |
|
80 | 80 | - name: Commit and push via docker image (preview) |
@@ -122,8 +122,8 @@ jobs: |
122 | 122 | uses: devops-infra/action-commit-push@master |
123 | 123 | with: |
124 | 124 | github_token: ${{ secrets.GITHUB_TOKEN }} |
125 | | - commit_prefix: "[E2E-PREFIX]" |
126 | | - commit_message: " Custom message test" |
| 125 | + commit_prefix: "test(commit-push): " |
| 126 | + commit_message: "custom message test" |
127 | 127 | target_branch: test/e2e-commit-push-prefix-${{ github.run_id }} |
128 | 128 |
|
129 | 129 | - name: Commit via docker image (preview) |
@@ -169,7 +169,7 @@ jobs: |
169 | 169 | with: |
170 | 170 | github_token: ${{ secrets.GITHUB_TOKEN }} |
171 | 171 | allow_empty_commit: "true" |
172 | | - commit_message: "[E2E] Empty commit test" |
| 172 | + commit_message: "test(commit-push): empty commit test" |
173 | 173 | target_branch: test/e2e-commit-push-empty-${{ github.run_id }} |
174 | 174 |
|
175 | 175 | - name: Empty commit via docker image (preview) |
@@ -216,7 +216,7 @@ jobs: |
216 | 216 | with: |
217 | 217 | github_token: ${{ secrets.GITHUB_TOKEN }} |
218 | 218 | add_timestamp: "true" |
219 | | - commit_message: "[E2E] Timestamp branch test" |
| 219 | + commit_message: "test(commit-push): timestamp branch test" |
220 | 220 | target_branch: test/e2e-commit-push-timestamp |
221 | 221 |
|
222 | 222 | - name: Commit via docker image (preview) |
@@ -265,7 +265,7 @@ jobs: |
265 | 265 | with: |
266 | 266 | github_token: ${{ secrets.GITHUB_TOKEN }} |
267 | 267 | repository_path: repo |
268 | | - commit_message: "[E2E] Repository path test" |
| 268 | + commit_message: "test(commit-push): repository path test" |
269 | 269 | target_branch: test/e2e-commit-push-path-${{ github.run_id }} |
270 | 270 |
|
271 | 271 | - name: Commit via docker image (preview) |
@@ -318,13 +318,13 @@ jobs: |
318 | 318 | git checkout -b "${base_branch}" |
319 | 319 | echo "base" > e2e-reset-base.md |
320 | 320 | git add e2e-reset-base.md |
321 | | - git commit -m "[E2E] base branch for reset" |
| 321 | + git commit -m "test(commit-push): base branch for reset" |
322 | 322 | git push origin "${base_branch}" |
323 | 323 |
|
324 | 324 | git checkout -b "${target_branch}" "${base_branch}" |
325 | 325 | echo "legacy" > e2e-reset-legacy.md |
326 | 326 | git add e2e-reset-legacy.md |
327 | | - git commit -m "[E2E] legacy target branch content" |
| 327 | + git commit -m "test(commit-push): legacy target branch content" |
328 | 328 | git push origin "${target_branch}" |
329 | 329 |
|
330 | 330 | - name: Reset target branch using action |
@@ -393,19 +393,19 @@ jobs: |
393 | 393 | git checkout -b "${base_branch}" |
394 | 394 | printf 'value=one\n' > e2e-rebase-conflict.md |
395 | 395 | git add e2e-rebase-conflict.md |
396 | | - git commit -m "[E2E] base commit" |
| 396 | + git commit -m "test(commit-push): base commit" |
397 | 397 | git push origin "${base_branch}" |
398 | 398 |
|
399 | 399 | git checkout -b "${target_branch}" "${base_branch}" |
400 | 400 | printf 'value=target\n' > e2e-rebase-conflict.md |
401 | 401 | git add e2e-rebase-conflict.md |
402 | | - git commit -m "[E2E] target diverges" |
| 402 | + git commit -m "test(commit-push): target diverges" |
403 | 403 | git push origin "${target_branch}" |
404 | 404 |
|
405 | 405 | git checkout "${base_branch}" |
406 | 406 | printf 'value=base\n' > e2e-rebase-conflict.md |
407 | 407 | git add e2e-rebase-conflict.md |
408 | | - git commit -m "[E2E] base diverges" |
| 408 | + git commit -m "test(commit-push): base diverges" |
409 | 409 | git push origin "${base_branch}" |
410 | 410 |
|
411 | 411 | - name: Run action with strict rebase conflict handling |
@@ -463,7 +463,7 @@ jobs: |
463 | 463 | git checkout -b test/e2e-commit-push-amend-${{ github.run_id }} |
464 | 464 | echo "v1" > e2e-amend-test.md |
465 | 465 | git add e2e-amend-test.md |
466 | | - git commit -m "E2E: initial commit for amend test" |
| 466 | + git commit -m "test(commit-push): initial commit for amend test" |
467 | 467 | git push origin test/e2e-commit-push-amend-${{ github.run_id }} |
468 | 468 |
|
469 | 469 | - name: Add more content to file |
|
0 commit comments