GitHub Actions · infra · fg-0234

Uploaded artifact is missing dotfiles and folders such as .next or .output

Artifact zip lacks files whose names start with a dot

Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100

Cause

Since September 2, 2024 (upload-artifact v4.4.0), hidden files and anything inside dot folders are excluded by default to avoid leaking credentials.

Fix

Set include-hidden-files: true and exclude sensitive files explicitly in path.

Apply

- uses: actions/upload-artifact@v4
  with:
    name: build
    include-hidden-files: true
    path: |
      .next/
      !.next/cache/

Affects: actions/upload-artifact v4.4.0 and later, since 2024-09-02

Sources

Have your agent know this before it fails

claude mcp add --transport http footgun https://getfootgun.com/api/mcp