Skip to content

ci: opt in to org action-pin audit + Dependabot auto-merge#6

Open
fabapp2 wants to merge 1 commit into
mainfrom
chore/ci-action-pin-and-auto-merge-callers
Open

ci: opt in to org action-pin audit + Dependabot auto-merge#6
fabapp2 wants to merge 1 commit into
mainfrom
chore/ci-action-pin-and-auto-merge-callers

Conversation

@fabapp2

@fabapp2 fabapp2 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Two tiny caller workflows that delegate to the org composite actions in promptLM/.github (PR #11, SHA 4b0d21d):

  • action-pin-audit.yml — fails CI on any uses: ref not pinned to a 40-char commit SHA. Trigger: PRs touching .github/workflows/**, Mondays 06:17 UTC, and workflow_dispatch.
  • auto-merge-deps.yml — enables gh pr merge --auto on Dependabot or Renovate PRs once safety filters pass (recognised bot author, no do-not-merge/blocked/breaking-change label, no major-version bump). Honours this repo's branch-protection rules — does not bypass any required check or approval.

Also adds a minimal .github/dependabot.yml with the github-actions ecosystem so SHA pins stay current. Other ecosystems (maven / npm / pip) are intentionally NOT enabled here — staged opt-in lets you decide when to absorb that PR flow.

What to expect on this PR

This PR adds the audit workflow on the same change that introduces it, so the audit job will run against .github/workflows/** here. If this repo currently has unpinned uses: refs, the audit job is expected to fail on this PR — that's the signal, not a problem with the workflow. Two ways to handle it:

  1. Merge with the audit failing once (it's not yet a required check), then run pin-action-shas via a follow-up workflow_dispatch to close the drift.
  2. Pin the existing refs in this same PR before merging, so the audit goes green from the start.

Once the drift is closed once, the audit + Dependabot + auto-merge loop keeps it from coming back.

Rollout context

Per-repo opt-in for the org-wide composite actions. Status across the participating repos lives in promptlm-release/docs/ci-sync-audit-2026-05-30.md §4.

🤖 Generated with Claude Code

Adds two thin caller workflows that delegate to the org composite
actions in promptLM/.github (PR #11, SHA 4b0d21d):

* action-pin-audit.yml — fails CI on any uses: ref not pinned to a
  40-char commit SHA. Runs on PRs touching .github/workflows/**,
  weekly on schedule, and on workflow_dispatch.
* auto-merge-deps.yml — enables gh pr merge --auto on Dependabot or
  Renovate PRs once safety filters pass (recognised bot author, no
  do-not-merge/blocked/breaking-change label, no major bump). Honours
  this repo's branch-protection rules.

Also adds a minimal .github/dependabot.yml with the github-actions ecosystem so SHA pins stay current. Other ecosystems (maven/npm/pip) intentionally not enabled here.

Tracking: promptLM/promptlm-release/docs/ci-sync-audit-2026-05-30.md
§4 + §6 P1 #9.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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