-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Description
- name: Checkout Support files
uses: actions/checkout@v6
with:
repository: '${{ github.repository_owner }}/thatorg'
token: ${{ steps.app-token.outputs.token }}
ref: 'v1'
sparse-checkout: |
docker-ui/Dockerfile
nginx/nginx.conf
- name: setup nginx.conf
run: |
sed -i "s|UI_NAME|${{ github.event.repository.name }}|g" nginx/nginx.conf
mv nginx/nginx.conf ./nginx.conf
- uses: actions/checkout@v6
name: Checkout Source Code
with:
fetch-depth: 0
ref: ${{ github.ref_name }}
clean: false And from the GITHUB Action Step Output I see its deleting the workspace files which were previous pulled into the runner
Run actions/checkout@v6
with:
fetch-depth: 0
ref: main
clean: false
repository: thisorg/thisrepo
token: ***
ssh-strict: true
ssh-user: git
persist-credentials: true
sparse-checkout-cone-mode: true
fetch-tags: false
show-progress: true
lfs: false
submodules: false
set-safe-directory: true
Syncing repository: thisorg/thisrepo
Getting Git version info
Working directory is '/home/runner/work/thisrepo/thisrepo'
/usr/bin/git version
git version 2.52.0
Temporarily overriding HOME='/home/runner/work/_temp/4392b1eb-81d2-4a6a-b469-6ef11459c8c8' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/thisrepo/thisrepo
/usr/bin/git config --local --get remote.origin.url
https://github.com/thisorg/thatrepo
Deleting the contents of '/home/runner/work/thisrepo/thisrepo'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
/usr/bin/git sparse-checkout disable
/usr/bin/git config --local --unset-all extensions.worktreeConfig
Checking out the ref
/usr/bin/git log -1 --format=%H
1074b85d5c5e3a06b9d4db67902254f4cd08b697Any workaround is appreciated until this is fixed.
Metadata
Metadata
Assignees
Labels
No labels