diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 08fe25257..20e639c5b 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -378,6 +378,11 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4.1.1 + with: + # We need to get the whole commit history to be able to re-call the actions/checkout action below and fetch + # the new PR created by AndreasAugustin/actions-template-sync. This is a known limitation: + # https://github.com/actions/checkout/issues/439 + fetch-depth: 0 - name: Sync from template repo id: template_sync uses: AndreasAugustin/actions-template-sync@v1.8.0 diff --git a/changelog.md b/changelog.md index b7b17d6c8..d0f37a40a 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,8 @@ This version is not released yet and is under active development. ``` +- Fix fetching of newly created PR in `awesome-template-sync`. + ## [3.3.1 (2024-03-01)](https://github.com/kdeldycke/workflows/compare/v3.3.0...v3.3.1) - Update repository URLs in `awesome-template-sync` job before re committing the PR.