diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce8a7ba..e5a190b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,3 +27,17 @@ jobs: echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}" echo "url-count = ${{ steps.sitemap.outputs.url-count }}" echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}" + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v4.2.3 + with: + title: "Automated sitemap update" + body: > + Automated changes. Sitemap updated by + the [generate-sitemap](https://github.com/cicirello/generate-sitemap) + GitHub action. + commit-message: "Automated sitemap update." + author: Vincent A. Cicirello + committer: Vincent A. Cicirello + branch: create-pull-request/sitemap + delete-branch: true