Skip to content

Commit

Permalink
Merge pull request #50 from nationalarchives/chore/add-git-secrets-check
Browse files Browse the repository at this point in the history
Add a check for secrets
  • Loading branch information
jacksonj04 authored Dec 2, 2022
2 parents df39f22 + 168aa61 commit d2520f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitallowed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arn:[a-z0-9-:]+:[0-9]{12}:[a-z0-9-]+
11 changes: 11 additions & 0 deletions .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Source safety
on:
pull_request:
push:
jobs:
secrets:
name: Check for secrets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: nationalarchives/tdr-github-actions/.github/actions/run-git-secrets@main

0 comments on commit d2520f7

Please sign in to comment.