Skip to content

feat(ENG-13667): adding betterleaks checks to pre-commit hooks and CI - #360

Open
coillteoir wants to merge 1 commit into
masterfrom
ENG-13667/betterleaks
Open

feat(ENG-13667): adding betterleaks checks to pre-commit hooks and CI#360
coillteoir wants to merge 1 commit into
masterfrom
ENG-13667/betterleaks

Conversation

@coillteoir

Copy link
Copy Markdown
Contributor

Description

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • Other (please describe)

Additional Notes

Copilot AI lite review requested due to automatic review settings August 17, 2026 17:12
@coillteoir
coillteoir requested a review from a team as a code owner August 17, 2026 17:12

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.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds Betterleaks secret-scanning to the repo via both pre-commit and a GitHub Actions workflow to catch credential leaks earlier and in CI.

Changes:

  • Reformat .pre-commit-config.yaml for consistent YAML indentation and add the betterleaks pre-commit hook.
  • Add a new GitHub Actions workflow to run Betterleaks on pushes and pull requests.
  • Upload Betterleaks scan output as a CI artifact.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
.pre-commit-config.yaml Reformats hook configuration and adds Betterleaks to local developer workflows.
.github/workflows/betterleaks.yaml Introduces CI secret scanning with artifact upload for scan reports.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

on:
push:
branches:
- master
with:
fetch-depth: 0

- uses: dortort/betterleaks-action@v0.1.0
github-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v4
if: always()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants