Skip to content

Commit

Permalink
Merge pull request #111 from nationalarchives/chore/add-git-secrets-c…
Browse files Browse the repository at this point in the history
…heck

Add a check for secrets
  • Loading branch information
dragon-dxw authored Nov 23, 2022
2 parents 8108f4d + 1c33b09 commit a9e2c29
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:aws:sns:[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 a9e2c29

Please sign in to comment.