Skip to content

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

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

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

Conversation

@coillteoir

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 17, 2026 16:33
@coillteoir
coillteoir requested a review from a team as a code owner August 17, 2026 16:33
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: dortort/betterleaks-action@v0.1.0
Comment on lines +15 to +17
- uses: actions/checkout@v4
with:
fetch-depth: 0

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 secret scanning via Betterleaks and tidies the existing pre-commit YAML formatting to strengthen automated checks in local dev and CI.

Changes:

  • Reformats .pre-commit-config.yaml for consistent YAML indentation and adds the betterleaks pre-commit hook.
  • Adds a GitHub Actions workflow to run Betterleaks on pushes and pull requests.

Reviewed changes

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

File Description
.pre-commit-config.yaml Re-indents existing hooks and adds Betterleaks to run locally via pre-commit.
.github/workflows/betterleaks.yaml Introduces CI workflow to run Betterleaks in GitHub Actions.

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

Comment on lines +4 to +22
branches:
- master
pull_request:
branches:
- "**"
jobs:
betterleaks:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: dortort/betterleaks-action@v0.1.0
id: betterleaks
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
with:
fetch-depth: 0

- uses: dortort/betterleaks-action@v0.1.0
Comment thread .pre-commit-config.yaml
hooks:
- id: pyupgrade
args: [--py310-plus]
.bumpversion.cfg
@coillteoir coillteoir closed this Aug 17, 2026
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.

3 participants