Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions .github/workflows/generate_overview_apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
generate_overview_apps:
Expand All @@ -32,16 +31,14 @@ jobs:
STAMP=$(date -u '+%Y-%m-%d %H:%M UTC')
sed -i "s|<!-- last-run -->.*<!-- /last-run -->|<!-- last-run -->$STAMP<!-- /last-run -->|" README.md

- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
add-paths: |
src
README.md
commit-message: Regenerate overview apps
author: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>'
committer: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>'
branch: generate_overview_apps/regenerate
delete-branch: true
title: Regenerate overview apps
body: Automated overview apps regeneration.
- name: Commit and push changes
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add src README.md
if git diff --staged --quiet; then
echo "No changes to commit."
else
git commit -m "Regenerate overview apps"
git push origin HEAD:standard
fi