Skip to content

Commit 3a4a5d8

Browse files
authored
Merge pull request #32 from STH-Coders/killshot13-gitguardian-github-actions-patch-2
Update gitguardian.yml
2 parents 79bfe9c + 2463845 commit 3a4a5d8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/gitguardian.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@ on:
1212
workflow_dispatch:
1313
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414
jobs:
15-
# This workflow contains a single job named "ggscan"
16-
ggscan:
15+
# This workflow contains a single job named "scanning"
16+
scanning:
17+
name: GitGuardian scan
1718
# The type of runner that the job will run on
1819
runs-on: ubuntu-latest
1920
# Steps represent a sequence of tasks that will be executed as part of the job
2021
steps:
21-
- name: checkout
22+
- name: Checkout
2223
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2324
uses: actions/checkout@v2
2425
with:
2526
fetch-depth: 0 # fetch all history so multiple commits can be scanned
26-
- name: scan
27+
- name: GitGuardian scan
2728
uses: GitGuardian/gg-shield-action@master
2829
env:
2930
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
3031
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
3132
GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }}
3233
GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
33-
GITGUARDIAN_API_KEY: ${{ secrets.STHCODERS_GIT_GUARDIAN_API_KEY }}
34-
# Runs a single command using the runners shell
35-
- name: alert
34+
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
35+
- name: Alert
36+
# Runs a single command using the runners shell
3637
run: echo Scan is complete!
37-

0 commit comments

Comments
 (0)