Skip to content

Commit 87b99a6

Browse files
oblomov-devclaude
andauthored
Commit overview regeneration directly instead of opening a PR (#679)
Claude-Session: https://claude.ai/code/session_018Jku7WcrZWpkxR3nFDHufE Co-authored-by: Claude <noreply@anthropic.com>
1 parent 69462cb commit 87b99a6

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

.github/workflows/generate_overview_apps.yaml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77

88
permissions:
99
contents: write
10-
pull-requests: write
1110

1211
jobs:
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

0 commit comments

Comments
 (0)