mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
Update main.yml
This commit is contained in:
parent
ce66ddc838
commit
359fce8758
22
.github/workflows/main.yml
vendored
22
.github/workflows/main.yml
vendored
@ -28,12 +28,16 @@ jobs:
|
|||||||
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
|
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
|
||||||
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
|
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
|
||||||
|
|
||||||
- name: Commit and push
|
- name: Create Pull Request
|
||||||
run: |
|
uses: peter-evans/create-pull-request@v4.2.3
|
||||||
if [[ `git status --porcelain sitemap.xml` ]]; then
|
with:
|
||||||
git config --global user.name 'Vincent A. Cicirello'
|
title: "Automated sitemap update"
|
||||||
git config --global user.email 'cicirello@users.noreply.github.com'
|
body: >
|
||||||
git add sitemap.xml
|
Automated changes. Sitemap updated by
|
||||||
git commit -m "Automated sitemap update" sitemap.xml
|
the [generate-sitemap](https://github.com/cicirello/generate-sitemap)
|
||||||
git push
|
GitHub action.
|
||||||
fi
|
commit-message: "Automated sitemap update."
|
||||||
|
author: Vincent A. Cicirello <cicirello@users.noreply.github.com>
|
||||||
|
committer: Vincent A. Cicirello <cicirello@users.noreply.github.com>
|
||||||
|
branch: games/main
|
||||||
|
delete-branch: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user