File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 3535 if : ${{ (github.repository != 'hashicorp/nomad' || (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name))
3636 && (github.actor != 'dependabot[bot]') && (github.actor != 'hc-github-team-nomad-core') }}
3737
38+ permissions :
39+ contents : read
40+ actions : read
41+ security-events : write
42+
3843 steps :
3944 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
45+ with :
46+ path : code
4047 - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4148 with :
4249 python-version : 3.x
6370 id : scan
6471 uses : ./security-scanner
6572 with :
66- repository : " $PWD"
73+ repository : " code"
74+ plugins : " codeql semgrep"
6775 env :
6876 SECURITY_SCANNER_CONFIG_FILE : .github/scan.hcl
6977 # See scan.hcl at repository .github location for config.
You can’t perform that action at this time.
0 commit comments