Skip to content

Commit

Permalink
Hmmm
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Mar 4, 2024
1 parent 1639a2c commit 45ad008
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
uses: actions/checkout@v4.1.1
with:
token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Sync from template repo
id: template_sync
uses: AndreasAugustin/actions-template-sync@v1.8.1
Expand All @@ -43,14 +45,12 @@ jobs:
run: |
echo "PR branch ID: ${{ steps.template_sync.outputs.pr_branch }}"
#- name: Checkout new template sync branch
# uses: actions/checkout@v4.1.1
# with:
# token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }}
# ref: ${{ steps.template_sync.outputs.pr_branch }}

- run: |
git checkout ${{ steps.template_sync.outputs.pr_branch }}
- name: Checkout new template sync branch
uses: actions/checkout@v4.1.1
with:
token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }}
ref: ${{ steps.template_sync.outputs.pr_branch }}
fetch-depth: 0

# XXX We cannot rely on peter-evans/create-pull-request to manage the push of the new commit to the PR, as it
# ends up with a: "Unexpected error: fatal: could not open '.git/COMMIT_EDITMSG': Permission denied".
Expand Down

0 comments on commit 45ad008

Please sign in to comment.