Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This action/checkout step on the Generate Action Docs / Docs workflow fails in fork PRs #8

Open
pndurette opened this issue Jan 14, 2024 · 0 comments

Comments

@pndurette
Copy link
Owner

Example here

Log output from the above
2024-01-14T02:17:09.4984079Z ##[group]Run actions/checkout@v4
2024-01-14T02:17:09.4984647Z with:
2024-01-14T02:17:09.4985080Z   ref: folder-support
2024-01-14T02:17:09.4985509Z   repository: pndurette/gh-pages-url-shortener-action
2024-01-14T02:17:09.4986206Z   token: ***
2024-01-14T02:17:09.4986655Z   ssh-strict: true
2024-01-14T02:17:09.4986972Z   persist-credentials: true
2024-01-14T02:17:09.4987368Z   clean: true
2024-01-14T02:17:09.4987767Z   sparse-checkout-cone-mode: true
2024-01-14T02:17:09.4988140Z   fetch-depth: 1
2024-01-14T02:17:09.4988482Z   fetch-tags: false
2024-01-14T02:17:09.4988886Z   show-progress: true
2024-01-14T02:17:09.4989563Z   lfs: false
2024-01-14T02:17:09.4989923Z   submodules: false
2024-01-14T02:17:09.4990351Z   set-safe-directory: true
2024-01-14T02:17:09.4990708Z ##[endgroup]
2024-01-14T02:17:09.7519955Z Syncing repository: pndurette/gh-pages-url-shortener-action
2024-01-14T02:17:09.7522307Z ##[group]Getting Git version info
2024-01-14T02:17:09.7523811Z Working directory is '/home/runner/work/gh-pages-url-shortener-action/gh-pages-url-shortener-action'
2024-01-14T02:17:09.7525282Z [command]/usr/bin/git version
2024-01-14T02:17:09.7550193Z git version 2.43.0
2024-01-14T02:17:09.7576195Z ##[endgroup]
2024-01-14T02:17:09.7597646Z Temporarily overriding HOME='/home/runner/work/_temp/8907d716-37c0-4921-9d57-7e261cfb29a7' before making global git config changes
2024-01-14T02:17:09.7599617Z Adding repository directory to the temporary git global config as a safe directory
2024-01-14T02:17:09.7601946Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/gh-pages-url-shortener-action/gh-pages-url-shortener-action
2024-01-14T02:17:09.7636973Z Deleting the contents of '/home/runner/work/gh-pages-url-shortener-action/gh-pages-url-shortener-action'
2024-01-14T02:17:09.7642469Z ##[group]Initializing the repository
2024-01-14T02:17:09.7646530Z [command]/usr/bin/git init /home/runner/work/gh-pages-url-shortener-action/gh-pages-url-shortener-action
2024-01-14T02:17:09.7736060Z hint: Using 'master' as the name for the initial branch. This default branch name
2024-01-14T02:17:09.7737713Z hint: is subject to change. To configure the initial branch name to use in all
2024-01-14T02:17:09.7739089Z hint: of your new repositories, which will suppress this warning, call:
2024-01-14T02:17:09.7740381Z hint: 
2024-01-14T02:17:09.7741365Z hint: 	git config --global init.defaultBranch <name>
2024-01-14T02:17:09.7742179Z hint: 
2024-01-14T02:17:09.7742844Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2024-01-14T02:17:09.7743764Z hint: 'development'. The just-created branch can be renamed via this command:
2024-01-14T02:17:09.7744287Z hint: 
2024-01-14T02:17:09.7744629Z hint: 	git branch -m <name>
2024-01-14T02:17:09.7751664Z Initialized empty Git repository in /home/runner/work/gh-pages-url-shortener-action/gh-pages-url-shortener-action/.git/
2024-01-14T02:17:09.7760378Z [command]/usr/bin/git remote add origin https://github.com/pndurette/gh-pages-url-shortener-action
2024-01-14T02:17:09.7793823Z ##[endgroup]
2024-01-14T02:17:09.7794570Z ##[group]Disabling automatic garbage collection
2024-01-14T02:17:09.7796859Z [command]/usr/bin/git config --local gc.auto 0
2024-01-14T02:17:09.7824340Z ##[endgroup]
2024-01-14T02:17:09.7824914Z ##[group]Setting up auth
2024-01-14T02:17:09.7830095Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2024-01-14T02:17:09.7857944Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2024-01-14T02:17:09.8208384Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-01-14T02:17:09.8237677Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2024-01-14T02:17:09.8482216Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2024-01-14T02:17:09.8528056Z ##[endgroup]
2024-01-14T02:17:09.8529126Z ##[group]Fetching the repository
2024-01-14T02:17:09.8540437Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/folder-support*:refs/remotes/origin/folder-support* +refs/tags/folder-support*:refs/tags/folder-support*
2024-01-14T02:17:10.2784867Z The process '/usr/bin/git' failed with exit code 1
2024-01-14T02:17:10.2785639Z Waiting 20 seconds before trying again
2024-01-14T02:17:30.2908139Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/folder-support*:refs/remotes/origin/folder-support* +refs/tags/folder-support*:refs/tags/folder-support*
2024-01-14T02:17:30.6546600Z The process '/usr/bin/git' failed with exit code 1
2024-01-14T02:17:30.6547301Z Waiting 20 seconds before trying again
2024-01-14T02:17:50.6657486Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/folder-support*:refs/remotes/origin/folder-support* +refs/tags/folder-support*:refs/tags/folder-support*
2024-01-14T02:17:51.0372858Z ##[error]The process '/usr/bin/git' failed with exit code 1
2024-01-14T02:17:51.0651391Z Post job cleanup.
2024-01-14T02:17:51.1392474Z [command]/usr/bin/git version
2024-01-14T02:17:51.1432901Z git version 2.43.0
2024-01-14T02:17:51.1476231Z Temporarily overriding HOME='/home/runner/work/_temp/3fdd1a9f-38d0-449d-b037-3f127b8e14dc' before making global git config changes
2024-01-14T02:17:51.1478266Z Adding repository directory to the temporary git global config as a safe directory
2024-01-14T02:17:51.1482536Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/gh-pages-url-shortener-action/gh-pages-url-shortener-action
2024-01-14T02:17:51.1517553Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2024-01-14T02:17:51.1550871Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2024-01-14T02:17:51.1789187Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-01-14T02:17:51.1809730Z http.https://github.com/.extraheader
2024-01-14T02:17:51.1822142Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2024-01-14T02:17:51.1853723Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2024-01-14T02:17:51.2317928Z Cleaning up orphan processes

Possible fix in actions/checkout#455

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant