Skip to content

deps: Bump actions/checkout -> v3 (dependabot + fixes)#25506

Merged
phlax merged 9 commits intoenvoyproxy:mainfrom
phlax:gh-actions-checkout
Feb 13, 2023
Merged

deps: Bump actions/checkout -> v3 (dependabot + fixes)#25506
phlax merged 9 commits intoenvoyproxy:mainfrom
phlax:gh-actions-checkout

Conversation

@phlax
Copy link
Copy Markdown
Member

@phlax phlax commented Feb 13, 2023

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v1...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax changed the title deps: Bump actions/checkout -> v3 (dependabot + fixes) [WIP] deps: Bump actions/checkout -> v3 (dependabot + fixes) Feb 13, 2023
@phlax phlax marked this pull request as draft February 13, 2023 08:48
@phlax phlax force-pushed the gh-actions-checkout branch from 372210d to eebdccd Compare February 13, 2023 08:54
@phlax phlax changed the title [WIP] deps: Bump actions/checkout -> v3 (dependabot + fixes) deps: Bump actions/checkout -> v3 (dependabot + fixes) Feb 13, 2023
@phlax phlax marked this pull request as ready for review February 13, 2023 08:54
@phlax phlax force-pushed the gh-actions-checkout branch from eebdccd to 01a00c4 Compare February 13, 2023 08:55
Signed-off-by: Ryan Northey <ryan@synca.io>
@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Feb 13, 2023

Odd that the android_build and child jobs never started?

image

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Check envoy-presubmit didn't fail.

🐱

Caused by: a #25506 (comment) was created by @phlax.

see: more, trace.

@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Feb 13, 2023

Actually it looks like there's a mistake in the yaml configs:

Invalid workflow file: .github/workflows/ios_build.yml#L21
The workflow is not valid. .github/workflows/ios_build.yml (Line: 21, Col: 7): Unexpected value 'fetch-depth' .github/workflows/ios_build.yml (Line: 47, Col: 7): Unexpected value 'fetch-depth'

image

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

could be me force pushing - i can look further if its blocking it somehow

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

Actually it looks like there's a mistake in the yaml configs:

ah that would explain it - let me update ...

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

hmm - wierd - im not seeing the error - its seems correct https://github.com/actions/checkout#usage and is working everywhere else

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

merged main altho dont see any reason it would merge badly - lets see

@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Feb 13, 2023

It seems to only be happening on macOS, the Linux jobs are running fine.

Invalid workflow file: .github/workflows/android_build.yml#L21
The workflow is not valid. .github/workflows/android_build.yml (Line: 21, Col: 7): Unexpected value 'fetch-depth' .github/workflows/android_build.yml (Line: 53, Col: 7): Unexpected value 'fetch-depth'

https://github.com/envoyproxy/envoy/actions/runs/4164747882

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

nm - i think it needs a with not sure why it does/not work - but ill update with correct syntax ...

Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Feb 13, 2023

I see this is now done automatically:

Adding repository directory to the temporary git global config as a safe directory
/usr/local/bin/git config --global --add safe.directory /Users/runner/work/envoy/envoy

So can we remove the explicit steps that do that in our workflow configs?

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

So can we remove the explicit steps that do that in our workflow configs?

yep - i was intending to follow up with that

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

@jpsim would you prefer if i just added that here ?

@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Feb 13, 2023

Yes can you please do that here? The time to cut that out should be offset by not having the overhead of creating/reviewing/waiting for CI on a new PR.

Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

i rem now why i didnt include - when i tried this before it failed - it has some perms issue and i dont see obvious way to resolve

can we just revert this and land the action update ?

@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Feb 13, 2023

can we just revert this and land the action update ?

Yes of course.

Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

So can we remove the explicit steps that do that in our workflow configs?

reread your comment and the docs better and realized we can just remove - so hopefully that works - apologies for noise

This reverts commit c233929.

Signed-off-by: Ryan Northey <ryan@synca.io>
This reverts commit bad1202.

Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax
Copy link
Copy Markdown
Member Author

phlax commented Feb 13, 2023

argh - that still failed - reverted!

@phlax phlax enabled auto-merge (squash) February 13, 2023 16:28
@phlax phlax merged commit 336d06b into envoyproxy:main Feb 13, 2023
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.

2 participants