Skip to content

Commit 2f033d7

Browse files
authored
change update method from PR to push (#102)
Signed-off-by: tnazarew <tomasz.nazarewicz@getindata.com>
1 parent 11aff95 commit 2f033d7

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

.github/workflows/update_repo_files.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,9 @@ jobs:
5050
mv ./generated-files/updated-spec-versions.json ./generated-files/spec_versions.json || echo "updated-spec-versions.json not found"
5151
fi
5252
53-
- name: Create Pull Request
54-
id: create-pr
55-
uses: peter-evans/create-pull-request@v7
56-
with:
57-
add-paths: |
58-
generated-files/historical_reports/*
59-
generated-files/report.json
60-
generated-files/releases.json
61-
generated-files/spec_versions.json
62-
generated-files/compatibility-table.md
63-
branch: "test-${{ github.run_id }}-${{ inputs.execution-time }}"
64-
title: "[bot] update report with data from run ${{ github.run_id }} execution time: ${{ inputs.execution-time }}"
65-
signoff: true
66-
67-
- name: Automerge Pull Request
68-
id: automerge-pr
69-
if: ${{ steps.create-pr.outputs.pull-request-number }}
70-
run: gh pr merge --auto --delete-branch --squash ${{ steps.create-pr.outputs.pull-request-number }}
71-
53+
- name: Push changes
54+
id: push-changes
55+
run: |
56+
git add -u
57+
git commit -sm "[bot] update report with data from run ${{ github.run_id }} execution time: ${{ inputs.execution-time }}"
58+
git push origin main

0 commit comments

Comments
 (0)