Skip to content

chore: repo hygiene — PR template, Dependabot, SHA-pinned actions#137

Merged
Considus merged 2 commits into
mainfrom
chore/repo-hygiene
Jul 23, 2026
Merged

chore: repo hygiene — PR template, Dependabot, SHA-pinned actions#137
Considus merged 2 commits into
mainfrom
chore/repo-hygiene

Conversation

@Considus

Copy link
Copy Markdown
Owner

What this changes

Fills three gaps found in a settings audit of the public repo. No app code, no change to what CI executes.

  • .github/pull_request_template.md — none existed. Asks for the test evidence and turns the README non-negotiables into a checklist.
  • .github/dependabot.yml — none existed. There is no third-party package manifest here, so it tracks the CI actions weekly. Matches proton-bridge-mcp.
  • SHA-pinned CI actionsactions/checkout and actions/cache were on floating @v4 tags. Now pinned to commit SHAs (v4.4.0 and v4.3.0) with the version in a trailing comment, so a moved tag cannot change what runs. Dependabot keeps them current from here.

How it was tested

CI on this PR is the test. The workflow change is exercised by the run itself, since the pinned SHAs are what check out the code and restore the cache. Green across all four contexts means the pins resolve.

Note

The audit also found that branch protection on main did not require any status checks, despite the comment at the top of ci.yml saying it did. That is a repository setting rather than a file, and is being fixed separately.

🤖 Generated with Claude Code

Considus and others added 2 commits July 23, 2026 23:59
Three gaps found in a settings audit of the public repo:

- No pull request template. Added one that asks for the test evidence
  (coreverify / swift test / xcodebuild / device) and makes the README
  non-negotiables an explicit checklist rather than something a
  contributor has to go and find.
- No Dependabot config. The repo has no third-party package manifest, so
  the only pinned versions are the CI workflow's actions — this tracks
  those weekly, matching proton-bridge-mcp.
- CI actions were pinned to floating major tags (@v4). Pinned to commit
  SHAs with the version in a trailing comment, so a compromised tag can't
  silently change what runs. Dependabot now keeps the SHAs current.

No behaviour change to the app or to what CI actually executes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The two xcodebuild matrix destinations become the status-check names on
branch protection. The comment right above them invites bumping 18.5 when
the runner image moves on, which would rename a required check — the old
name stays required, never reports, and main locks. Says so at the spot
where someone would do it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Considus
Considus merged commit 514b913 into main Jul 23, 2026
4 checks passed
@Considus
Considus deleted the chore/repo-hygiene branch July 23, 2026 23:17
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.

1 participant