Skip to content

Commit

Permalink
Bypass checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Mar 4, 2024
1 parent 74141aa commit 1639a2c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,14 @@ 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 }}
#- 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 }}
# 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 1639a2c

Please sign in to comment.