diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index f01a081..17b8562 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -80,11 +80,31 @@ jobs: run: | git commit --all --message "Update template URLs with local ones" - - name: Squash commits + - name: Reset branch to main run: | git reset --soft $(git merge-base main HEAD) - git commit --message "[sync] Updates from \`awesome-template\`" - - name: Push commit to PR - run: | - git push --force \ No newline at end of file + + # git commit --message "[sync] Updates from \`awesome-template\`" + + #- name: Push commit to PR + # run: | + # git push --force + + - uses: peter-evans/create-pull-request@v6.0.1 + with: + assignees: ${{ github.actor }} + commit-message: "[sync] Updates from `awesome-template`" + title: "[sync] Updates from `awesome-template`" + body: > +
Workflow metadata + + + > [Auto-generated on run `#${{ github.run_id }}`](${{ github.event.repository.html_url }}/actions/runs/${{ + github.run_id }}) by `${{ github.job }}` job from [`autofix.yaml`](${{ github.event.repository.html_url + }}/blob/${{ github.sha }}/.github/workflows/autofix.yaml) workflow. + + +
+ labels: "📚 documentation" + branch: ${{ steps.template_sync.outputs.pr_branch }}