-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (23 loc) · 714 Bytes
/
Copy pathsecret-scanner.yml
File metadata and controls
27 lines (23 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# SPDX-License-Identifier: MPL-2.0
name: Secret Scanner
on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
scan:
# The reusable's gitleaks job requests pull-requests: write (PR
# summary comments) and actions: read. A called workflow cannot
# exceed the caller's grant - without these, every run dies at
# startup_failure. See standards#472.
permissions:
contents: read
pull-requests: write
actions: read
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236
secrets: inherit