-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
# git commit --message "[sync] Updates from \`awesome-template\`" | ||
|
||
#- name: Push commit to PR | ||
# run: | | ||
# git push --force | ||
|
||
- uses: peter-evans/[email protected] | ||
with: | ||
assignees: ${{ github.actor }} | ||
commit-message: "[sync] Updates from `awesome-template`" | ||
title: "[sync] Updates from `awesome-template`" | ||
body: > | ||
<details><summary><code>Workflow metadata</code></summary> | ||
> [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. | ||
</details> | ||
labels: "📚 documentation" | ||
branch: ${{ steps.template_sync.outputs.pr_branch }} |