Skip to content

Commit 21c35a2

Browse files
committed
Use push
1 parent 6d4296e commit 21c35a2

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,12 @@ jobs:
2929
id: verify-changed-files
3030
with:
3131
files: README.md
32-
- name: Commit changes
32+
- name: Commit and push changes
3333
if: steps.verify-changed-files.outputs.files_changed == 'true'
3434
run: |
3535
git config --local user.email "action@github.com"
3636
git config --local user.name "GitHub Action"
3737
git add README.md
3838
git commit -m "chore: Updated coverage badge."
39-
- name: Push changes
40-
if: steps.verify-changed-files.outputs.files_changed == 'true'
41-
uses: ad-m/github-push-action@master
42-
with:
43-
github_token: ${{ github.token }}
44-
branch: ${{ github.head_ref }}
39+
git push
4540

0 commit comments

Comments
 (0)