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

Avoid auth configuration for submodules when settings.submodules is false ( rebased #424 ) auth submodules #1321

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kaidokert
Copy link

@kaidokert kaidokert commented May 15, 2023

Rebased #424 to try to get this landed.

Fixes #354 #1582

This should help with actions#354.
The problem is that I have no idea whether such auth submodules configuration
is required even when settings.submodules is false.
Error: Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run format && npm run build
Error: Process completed with exit code 1.

Rebased PR from actions#424
@kaidokert kaidokert requested a review from a team as a code owner May 15, 2023 19:28
@kaidokert kaidokert force-pushed the users/cosimo/issue-354-auth-submodules branch from 9a48990 to 1bf7689 Compare May 15, 2023 20:31
@kaidokert kaidokert changed the title Users/cosimo/issue 354 auth submodules Avoid auth configuration for submodules when settings.submodules is false ( rebased #354 ) auth submodules May 15, 2023
@kaidokert kaidokert changed the title Avoid auth configuration for submodules when settings.submodules is false ( rebased #354 ) auth submodules Avoid auth configuration for submodules when settings.submodules is false ( rebased #424 ) auth submodules May 16, 2023
kaidokert added a commit to youtube/cobalt that referenced this pull request May 16, 2023
This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270
cobalt-github-releaser-bot pushed a commit to youtube/cobalt that referenced this pull request May 16, 2023
This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270

(cherry picked from commit 3c24834)
kaidokert added a commit to youtube/cobalt that referenced this pull request May 16, 2023
…386)

This switches Windows workers, which are not yet ephemeral to use
a patched version of checkouts.

This guarantees always cleaning up repo state even in case of
previous bad submodules-like repo operations done by a previous
run.

In the long run, we should be using ephemeral workers, and switch
to upstream fixed version if the PR gets merged upstream.

Upstream PR: actions/checkout#1321

b/282361986
b/258687270

(cherry picked from commit 3c24834)

Co-authored-by: Kert <kaidokert@google.com>
@andrewsavage1
Copy link

Hoping we can get this landed soon, it's giving our project a number of issues

@kaidokert
Copy link
Author

Another ping for review, please

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

Successfully merging this pull request may close these issues.

Getting actions workflow failed at checkout stage with error
5 participants