Skip to content

ci: migrate .github callers to v3.7.1 (App credentials, gitleaks fix) - #259

Merged
DevSecNinja merged 1 commit into
mainfrom
steward/automation-app-callers
Nov 16, 2026
Merged

DevSecNinja merged 1 commit into
mainfrom
steward/automation-app-callers

Conversation

@DevSecNinja

Copy link
Copy Markdown
Owner

Closes #258

Changes

  • .github/workflows/config-sync.yml: pin config-sync.yml v1.9.0 → v3.7.1 (e28a49a14d4530962b165e0d35a8a331b2b42f23) and pass AUTOMATION_APP_PRIVATE_KEY by name, so the sync PR is opened by the DevSecNinja Automation App (App-opened PRs run CI). The next sync delivers the fixed .gitleaks.toml ([extend] useDefault = true, so gitleaks keeps its default rules and only adds the allowlist).
  • .github/workflows/release-please.yml: pin release-please.yml v1.9.0 → v3.7.1 (e28a49a14d4530962b165e0d35a8a331b2b42f23), drop the legacy app-id: ${{ vars.RELEASE_PLEASE_APP_ID }} input and replace app-private-key with AUTOMATION_APP_PRIVATE_KEY: ${{ secrets.AUTOMATION_APP_PRIVATE_KEY }}. Outputs are unchanged.

Only the config-sync and release-please callers change. apm-materialize.yml still reads RELEASE_PLEASE_APP_* directly and is out of scope here, so the legacy credentials stay until it moves. Renovate #130 also bumps other workflows and stays open.

Permissions: contents: write and pull-requests: write cover v3.7.1; nothing is added. On public repositories the credentials live in the production environment (pinned to main); the reusable job declares it with deployment: false.

Post-merge check

  • The merge push runs Release Please on main: green, credentials validated, release PR by devsecninja-automation[bot].
  • Dispatch Config Sync on main: green with no "falls back to GITHUB_TOKEN" warning; the sync PR (by the App) carries the fixed .gitleaks.toml.
  • Record the gitleaks result on that sync PR. New findings are triaged separately, not silenced here.

Part of DevSecNinja/repo-steward#73 (batch 3, owner-approved). Opened by repo-steward through the GitHub API; the commit is signed by GitHub (createCommitOnBranch).

Part of DevSecNinja/repo-steward#73 (batch 3, the gitleaks wave).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 53 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bf2e0097-bda8-48d5-a2ae-0de040ed1c9b
Commits

Reviewing files that changed from the base of the PR and between cd8f83a and 6d75348.

Files selected for processing: 2

  • .github/workflows/config-sync.yml
  • .github/workflows/release-please.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI 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.

🟢 Approval recommended

No active review issues block approval of the workflow updates.

No open issues 🎉

What changed in this PR

Updates the toolkit’s Config Sync and Release Please callers to the shared v3.7.1 workflows, enabling Automation App authentication and preparing for delivery of the central gitleaks configuration fix.

Changes:

  • Pins both reusable workflows to the v3.7.1 commit.
  • Passes AUTOMATION_APP_PRIVATE_KEY explicitly and removes Release Please’s legacy App inputs.
  • Leaves permissions and the out-of-scope APM materialization workflow unchanged.
File Description
.github/​workflows/​release-please.yml Updates the workflow pin and switches to the Automation App secret.
.github/​workflows/​config-sync.yml Updates the workflow pin and forwards the App secret for App-authored sync PRs.

Review effort: Balanced

@DevSecNinja
DevSecNinja merged commit 9164a26 into main Nov 16, 2026
20 checks passed
@DevSecNinja
DevSecNinja deleted the steward/automation-app-callers branch November 16, 2026 11:37
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.

ci: migrate .github callers to v3.7.1 for the App credentials and the gitleaks fix

2 participants