Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion attach/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ runs:
run: |
echo "pid $$ ppid $PPID"
mkdir -p /tmp/lunar/bin
curl -L https://github.com/earthly/lunar-dist/releases/download/v1.0.0/lunar-linux-amd64 -o /tmp/lunar/bin/lunar
curl -L https://github.com/earthly/lunar-dist/releases/download/v1.1.1/lunar-linux-amd64 -o /tmp/lunar/bin/lunar

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify v1.1.1 release exists in earthly/lunar-dist

# Check if v1.1.1 release exists
gh api repos/earthly/lunar-dist/releases/tags/v1.1.1 --jq '.tag_name, .published_at, .prerelease'

# List recent releases for context
echo "Recent releases:"
gh api repos/earthly/lunar-dist/releases --jq '.[0:5] | .[] | "\(.tag_name) - \(.published_at)"'

Repository: earthly/lunar-actions

Length of output: 385


🌐 Web query:

earthly lunar-dist v1.1.1 release

💡 Result:

No evidence found of an "earthly lunar-dist v1.1.1" release. The GitHub repository https://github.com/earthly/lunar-dist (part of Earthly's Lunar project, a platform for engineering standards and guardrails) has 11 releases with the latest being v1.0.11 on 2026-02-22. No mentions of v1.1.1 in release notes, changelogs, or official Earthly/Lunar documentation. "lunar-dist" appears to host Lunar binary releases, but v1.1.1 does not exist as of 2026-03-26.

Citations:


🏁 Script executed:

#!/bin/bash
# Check if the v1.1.1 release is accessible via curl
# GitHub API allows unauthenticated requests with lower rate limits
echo "Checking GitHub API for v1.1.1 release info:"
curl -s "https://api.github.com/repos/earthly/lunar-dist/releases/tags/v1.1.1" | head -100

echo -e "\n\nChecking if the download URL is accessible:"
curl -I -s "https://github.com/earthly/lunar-dist/releases/download/v1.1.1/lunar-linux-amd64" | head -10

echo -e "\n\nListing recent releases:"
curl -s "https://api.github.com/repos/earthly/lunar-dist/releases?per_page=10" | grep -o '"tag_name":"[^"]*"' | head -10

Repository: earthly/lunar-actions

Length of output: 1786


Remove non-existent version v1.1.1 and use a valid release.

The v1.1.1 release does not exist in the earthly/lunar-dist repository. The latest available release is v1.0.11 (2026-02-22). The curl command will fail when attempting to download from this non-existent version tag. Update the URL to point to an existing release.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@attach/action.yml` at line 57, The curl invocation that downloads lunar uses
a non-existent tag "v1.1.1"; update the URL in the shell line (the curl -L ...
-o /tmp/lunar/bin/lunar command) to reference an actual release tag such as
"v1.0.11" (or another valid tag from earthly/lunar-dist) so the download
succeeds; locate the curl command in attach/action.yml and replace the version
segment "/releases/download/v1.1.1/" with the correct
"/releases/download/v1.0.11/".

chmod +x /tmp/lunar/bin/lunar;
echo "lunar downloaded to /tmp/lunar/bin/lunar";
shell: bash
Expand Down
Loading