Repository navigation
Bump actions/checkout from 2 to 3 - #218
Closed
dependabot[bot] wants to merge 2 commits into
Closed
dependabot[bot] wants to merge 2 commits into
dependabot[bot] wants to merge 2 commits into
Conversation
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
The following labels could not be found: |
dependabot
Bot
requested review from
Joe Niland (joe-niland) and
Jeff (woz5999)
October 20, 2022 04:28
Member
|
There is an issue with 3.1.0 and additional steps on migrating |
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Andriy Knysh (aknysh)
deleted the
dependabot/github_actions/actions/checkout-3
branch
October 20, 2022 07:00
Erik Osterman (Cloud Posse) (osterman)
added a commit
that referenced
this pull request
Jul 13, 2026
- pkg/cache: bump the exclusive-lock retry budget from 500ms to 2s (filelock_unix.go). TestFileCache_ConcurrentAccess was intermittently failing on Linux CI with "cache file is locked by another process" - 10 goroutines contending for the cache directory's single lock file could exceed the old 50-retry/10ms budget under normal CI load. Ran the test 50x locally with -race after the fix with no failures. - CI workflow: bump the Windows/macOS "Acceptance tests" step timeout from 45m to 60m. Compared successful vs. failed run timings for this step: 37m43s vs. 45m06s (timed out) - only ~7 minutes of headroom on a step with that much run-to-run variance. 60m matches the Linux coverage step's existing budget. - docs/prd/archive-step.md, website/blog: drop the "still-open" framing on the cited archive_file GitHub issues - verified via `gh issue view` that all three (hashicorp/terraform#30042, terraform-provider-archive #218 and #34) are actually closed. Reworded to cite them as documented evidence of the failure mode without asserting current issue-tracker status. - website/docs archive.mdx: scope the byte-identical-output claim to mtime: epoch/git only - mtime: filesystem preserves real source mtime and permission bits and is not deterministic. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Andriy Knysh (aknysh)
added a commit
that referenced
this pull request
Jul 14, 2026
…2730) * feat(workflows): add native archive step type for zip/tar packaging Packaging build artifacts (e.g. a Lambda handler.zip) had no native Atmos primitive; the only option was shelling out to zip/tar, which breaks on Windows and gives no typed validation. The new `type: archive` step packs a directory/file into a zip/tar/tgz archive using the Go standard library only. It reuses the existing `kind: step` hook bridge instead of adding a dedicated hook kind, so it's usable as a lifecycle hook for free. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(docs): use full atmos.tools URL for /stacks/generate link lychee's exclude list only whitelists /cli/ and /functions/ root-relative website paths (the only forms it can't resolve locally); /stacks/generate isn't covered, so the link checker treated it as a literal repo-relative file path and failed. Match the convention every other PRD doc uses for paths outside those two prefixes: a full https://atmos.tools/... URL. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(archive): address CodeRabbit review findings on archive step Fixes several correctness/security issues from PR review: writeZip/writeTar now write through a temp file and rename atomically, so a failure partway through (e.g. a source file vanishing mid-run) never truncates or corrupts the previous archive; action: update no longer downgrades an existing archive's file permissions to the temp file's default mode; a single-file source now respects include/exclude filters instead of always being archived; Run(action, nil) returns a typed validation error instead of panicking; invalid glob-pattern errors from directory walking are no longer misclassified as a missing source; and subpath is validated to reject absolute paths and "."/".." segments, closing a path-traversal vector where an extracted archive could write outside its target directory. Also fixes two doc gaps: the step-types summary table and the archive step's intro paragraph both undersold supported formats as "zip/tar" when tgz is also supported. Three review comments proposing a destination-then-source format-inference fallback were not applied — the documented contract in docs/prd/archive-step.md is destination-only for pack actions and source-only for extract, not a fallback chain, so the "bug" was based on a misreading of ambiguous PR description wording, not an actual gap. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(schema): add archive step fields to atmos-manifest JSON schema TestSchemaCoversWorkflowStepFields was failing in CI: the archive step's format/destination/subpath/include/exclude fields were missing from the published workflow_step schema, which would reject valid workflow files annotated with the $schema. action/source were already covered since the archive step reuses those existing fields. Co-Authored-By: Claude Sonnet 5 <[email protected]> * test(archive): raise patch coverage for the archive step and package Codecov flagged the archive-step PR's patch coverage at 74.4% (target 85%). Adds targeted tests for previously-uncovered branches: format inference across all tar.bz2/tar.xz/tar extension aliases, Run() with an unknown action, update()'s own validation/MkdirAll error paths, destinationMode and atomicRewrite's direct error paths (stat failures, CreateTemp failure, a failing write callback, a rename-over-non-empty-directory failure), missing source entries fed straight into updateZip/updateTar, corrupt existing archives on update, single-file sources with an invalid glob pattern, a generic (non-glob) directory-walk failure, and every template-resolution error path in the archive step handler (source/destination/format/subpath/ include/exclude) plus a combined include+exclude success case. Raises pkg/archive from 83.7% to 93.0% and pkg/runner/step/archive.go to 100%. Co-Authored-By: Claude Sonnet 5 <[email protected]> * feat(archive): add opt-in reproducible archive output Shell/stdlib zip and tar both bake in real file mtime and permission bits, so identical source content produces different archive bytes on every rebuild — the same non-determinism long reported against Terraform's archive_file provider. Add reproducible: epoch|git, backed by go-git commit history (no shelling out to git log), plus permission-bit normalization. Opt-in and off by default so existing workflows are unaffected. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(archive): address CodeRabbit findings on reproducible archives - lastCommitForPrefix silently fell back to the fixed epoch when source was the repository root (filepath.Rel returns "." there, which never matches a real git path); match every path in that case. - Validate rejected a templated reproducible field before resolution, so a template resolving to a valid mode still failed early. Move the check to after vars.Resolve, in resolveArchiveOptions. - Note in the blog post that reproducible only normalizes the replace path, matching the caveat already in the step reference doc. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(archive): skip non-directory-path tests on Windows TestDestinationMode's "stat error other than not-exist" case and TestCopyUnchangedTarEntries_OpenFailure both fail on Windows: they use a file-as-directory-component trick to force a stat/open error, but Windows reports that as ERROR_PATH_NOT_FOUND (which os.IsNotExist treats as true), not POSIX's distinct ENOTDIR — so the code under test correctly treats it as "doesn't exist" and returns no error. Skip on Windows, matching the existing TestAtomicRewrite_RenameFailure precedent for the same class of platform difference. Co-Authored-By: Claude Sonnet 5 <[email protected]> * refactor(archive): rename reproducible field to mtime, tighten docs Renames the archive step's opt-in reproducible: epoch|git field to mtime: filesystem|epoch|git, naming it after the mechanism it controls (the per-entry timestamp stamped into the archive) rather than an opinionated outcome word, and making the default an explicit value instead of an implicit empty string. Also tightens the PRD and blog post: the archive_file dependency-ordering claim now cites the actual upstream Terraform issues and explains the missing-reference root cause instead of reading as an unqualified strawman, and both docs now state explicitly that action: replace is idempotent while action: update is not, rather than implying it. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(ci): resolve archive PR CI failures and CodeRabbit findings - pkg/cache: bump the exclusive-lock retry budget from 500ms to 2s (filelock_unix.go). TestFileCache_ConcurrentAccess was intermittently failing on Linux CI with "cache file is locked by another process" - 10 goroutines contending for the cache directory's single lock file could exceed the old 50-retry/10ms budget under normal CI load. Ran the test 50x locally with -race after the fix with no failures. - CI workflow: bump the Windows/macOS "Acceptance tests" step timeout from 45m to 60m. Compared successful vs. failed run timings for this step: 37m43s vs. 45m06s (timed out) - only ~7 minutes of headroom on a step with that much run-to-run variance. 60m matches the Linux coverage step's existing budget. - docs/prd/archive-step.md, website/blog: drop the "still-open" framing on the cited archive_file GitHub issues - verified via `gh issue view` that all three (hashicorp/terraform#30042, terraform-provider-archive #218 and #34) are actually closed. Reworded to cite them as documented evidence of the failure mode without asserting current issue-tracker status. - website/docs archive.mdx: scope the byte-identical-output claim to mtime: epoch/git only - mtime: filesystem preserves real source mtime and permission bits and is not deterministic. Co-Authored-By: Claude Sonnet 5 <[email protected]> * test(archive): use os.Chmod to make the mtime-normalization assertion meaningful os.WriteFile's requested mode is subject to the process umask, so under the common 0o022 umask the source file already landed at 0o644 on disk - the same value the test asserts on the archived entry. That made the assertion pass trivially without proving normalization actually ran. os.Chmod bypasses umask, guaranteeing the source is genuinely 0o664 before archiving. Addresses a CodeRabbit finding on PR #2730; verified against current code that the other four open findings on that review pass no longer apply (format inference from source is by design reserved for the not-yet-implemented extract action per the PRD, and the tar.go permission-stripping concern is already handled by atomicRewrite's destinationMode() chmod). Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Andriy Knysh <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps actions/checkout from 2 to 3.
Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
93ea575Prepare release v3.1.0 (#940)6a84743Bump@actions/coreto 1.10.0 (#939)e6d535cInject GitHub host to be able to clone from another GitHub instance (#922)2541b12Prepare changelog for v3.0.2. (#777)0ffe6f9Add set-safe-directory input to allow customers to take control. (#770)dcd71f6Enforce safe directory (#762)add3486Patch to fix the dependbot alert. (#744)5126516Bump minimist from 1.2.5 to 1.2.6 (#741)d50f8eaAdd v3.0 release information to changelog (#740)2d1c119update test workflows to checkout v3 (#709)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)