File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88permissions :
99 contents : write
10- pull-requests : write
1110
1211jobs :
1312 generate_overview_apps :
@@ -32,16 +31,14 @@ jobs:
3231 STAMP=$(date -u '+%Y-%m-%d %H:%M UTC')
3332 sed -i "s|<!-- last-run -->.*<!-- /last-run -->|<!-- last-run -->$STAMP<!-- /last-run -->|" README.md
3433
35- - name : Create Pull Request
36- uses : peter-evans/create-pull-request@v8
37- with :
38- add-paths : |
39- src
40- README.md
41- commit-message : Regenerate overview apps
42- author : ' github-actions[bot] <github-actions[bot]@users.noreply.github.com>'
43- committer : ' github-actions[bot] <github-actions[bot]@users.noreply.github.com>'
44- branch : generate_overview_apps/regenerate
45- delete-branch : true
46- title : Regenerate overview apps
47- body : Automated overview apps regeneration.
34+ - name : Commit and push changes
35+ run : |
36+ git config user.name 'github-actions[bot]'
37+ git config user.email 'github-actions[bot]@users.noreply.github.com'
38+ git add src README.md
39+ if git diff --staged --quiet; then
40+ echo "No changes to commit."
41+ else
42+ git commit -m "Regenerate overview apps"
43+ git push origin HEAD:standard
44+ fi
You can’t perform that action at this time.
0 commit comments