Skip to content

Commit 751c1fc

Browse files
committed
Switch to PR model
1 parent e12ff2b commit 751c1fc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/coverage-badge.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ jobs:
4040
- name: Commit files
4141
if: steps.changed_files.outputs.files_changed == 'true'
4242
run: |
43-
git config --local user.email "meyceoz@redhat.com"
44-
git config --local user.name "Maxusmusti"
43+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
44+
git config --local user.name "github-actions[bot]"
4545
git add coverage.svg
4646
git commit -m "Updated coverage.svg"
4747
48-
- name: Push changes
48+
- name: Create Pull Request
4949
if: steps.changed_files.outputs.files_changed == 'true'
50-
run: |
51-
git push -f https://${{ secrets.CI_PUSH_TOKEN }}@github.com/project-codeflare/codeflare-sdk.git
50+
uses: peter-evans/create-pull-request@v4
51+
with:
52+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)