Skip to content

chore: remove legacy main.yaml CI workflow#27

Merged
FeliLucero1 merged 1 commit into
mainfrom
felipelucero/remove-legacy-main-ci-workflow
Jul 22, 2026
Merged

chore: remove legacy main.yaml CI workflow#27
FeliLucero1 merged 1 commit into
mainfrom
felipelucero/remove-legacy-main-ci-workflow

Conversation

@FeliLucero1

Copy link
Copy Markdown
Contributor

Summary

  • Removes .github/workflows/main.yaml — fully superseded by ci.yaml, which already runs go-lint + go-test on push to main.

Why

main.yaml just failed on main after merging #26 (https://github.com/ConductorOne/baton-jamf/actions/runs/29932437958): its golangci-lint-action@v6 resolved version: latest to a stale v1.64.8 binary (built against go1.24), which refuses to lint code targeting this repo's current go1.25.10. It also has other staleness issues: hardcoded go-version: 1.23.x instead of reading go.mod, and Checkout code running after Install Go (breaks the go.sum dependency cache lookup).

ci.yaml already covers the same triggers correctly (go-version-file: go.mod, checkout-before-install, golangci-lint-action@v8) and passed cleanly on the same push. Newer connectors (baton-box, baton-n8n, baton-airtable) don't carry a main.yaml at all — just ci.yaml + update-dependencies.yaml, which this repo already has.

Test plan

  • Confirmed ci.yaml's push-to-main trigger already ran and passed on the merge commit that broke main.yaml
  • Confirmed no other reference connector still ships both ci.yaml and main.yaml

🤖 Generated with Claude Code

Duplicates ci.yaml's go-lint + go-test jobs (which already trigger on
push to main) with a stale config: hardcoded go-version: 1.23.x instead
of reading go.mod, checkout happening after Install Go (breaks go.sum
dependency caching), and an older golangci-lint-action@v6 that resolved
"latest" to a stale v1.64.8 binary built against go1.24 -- which then
refuses to lint code targeting the repo's current go1.25.10, failing
every push to main.

Newer connectors (baton-box, baton-n8n, baton-airtable) don't carry
this file at all; only ci.yaml + update-dependencies.yaml, which this
repo already has.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@FeliLucero1
FeliLucero1 requested a review from a team July 22, 2026 15:28
@github-actions

Copy link
Copy Markdown
Contributor

Connector PR Review: chore: remove legacy main.yaml CI workflow

Blocking Issues: 0 | Suggestions: 0 | Threads Resolved: 0
Criteria: Criteria status: loaded .claude/skills/ci-review.md from trusted base 6a5e5e7632a3.
Review mode: full
View review run

Review Summary
This PR deletes only .github/workflows/main.yaml (41 deletions, no Go or dependency changes); the full PR diff was scanned for security and correctness. I confirmed the removed go-lint/go-test jobs are fully superseded by .github/workflows/ci.yaml, which triggers on push to main and uses go-version-file: go.mod, checkout-before-install, and golangci-lint-action@v8. No new issues found.

Security Issues
None found.

Correctness Issues
None found.

Suggestions
None.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No blocking issues found.

@FeliLucero1
FeliLucero1 merged commit 3b9705a into main Jul 22, 2026
12 checks passed
@FeliLucero1
FeliLucero1 deleted the felipelucero/remove-legacy-main-ci-workflow branch July 22, 2026 16:45
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.

4 participants