Skip to content

ci: dependabot version updates + least-privilege workflow permissions - #46

Merged
SollanSystems merged 1 commit into
mainfrom
ci/security-quality-setup
Jul 10, 2026
Merged

SollanSystems merged 1 commit into
mainfrom
ci/security-quality-setup

Conversation

@SollanSystems

Copy link
Copy Markdown
Owner

What

Repo-file half of the security/quality setup pass:

  • .github/dependabot.yml — weekly version-update checks for github-actions (grouped into one PR; covers .github/workflows/ and the root composite action.yml) and pip (runtime is stdlib-only; watches the optional extras and any future pins).
  • ci.yml / publish.yml — explicit top-level permissions: contents: read so the workflow token is least-privilege regardless of repo/org default drift. The publish job keeps its scoped id-token: write for PyPI trusted publishing; same-run artifact download/upload uses the runtime token, so no actions: read needed.

Companion settings (already enabled via API, not in this diff)

  • Secret scanning + push protection
  • CodeQL default setup (python + actions)
  • Auto-merge + delete-branch-on-merge

Test plan

  • CI must pass unchanged (permissions blocks are read-only scopes; every job only reads contents)
  • Dependabot config validates on merge (Insights → Dependency graph → Dependabot)

- .github/dependabot.yml: weekly github-actions (grouped) + pip update checks
- ci.yml / publish.yml: explicit top-level 'permissions: contents: read'
  (publish job keeps its scoped 'id-token: write' for PyPI trusted publishing)

Companion to repo-settings changes enabled via API: secret scanning +
push protection, CodeQL default setup (python + actions).
Copilot AI review requested due to automatic review settings July 10, 2026 03:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SollanSystems
SollanSystems merged commit 838acdb into main Jul 10, 2026
7 checks passed
@SollanSystems
SollanSystems deleted the ci/security-quality-setup branch July 10, 2026 03:36
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.

2 participants