From e350bdbeb969b4a3b4b697b3cd9ec79c9efbd287 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Mon, 18 Mar 2024 15:24:48 +0100 Subject: [PATCH] Add custom body for awesome list sync PRs --- .github/workflows/docs.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index deb93c5ea..ed2d12c31 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -371,13 +371,27 @@ jobs: fetch-depth: 0 - name: Sync from template repo id: template_sync - uses: AndreasAugustin/actions-template-sync@v1.8.1 + uses: AndreasAugustin/actions-template-sync@v1.9.0 with: github_token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }} source_repo_path: kdeldycke/awesome-template pr_title: "[sync] Updates from `awesome-template`" pr_commit_msg: "[sync] Updates from awesome-template" pr_branch_name_prefix: "sync-awesome-template" + pr_body: > + Files synced from [`${SOURCE_REPO_PATH}@${TEMPLATE_GIT_HASH}` + repository](https://github.com/${SOURCE_REPO_PATH}/tree/${TEMPLATE_GIT_HASH}). + + +
Workflow metadata + + + > [Auto-generated on run `#${{ github.run_id }}`](${{ github.event.repository.html_url }}/actions/runs/${{ + github.run_id }}) by `${{ github.job }}` job from [`docs.yaml`](${{ github.event.repository.html_url + }}/blob/${{ github.sha }}/.github/workflows/docs.yaml) workflow. + + +
pr_labels: "📚 documentation" - name: Checkout new template sync branch uses: actions/checkout@v4.1.2