Open
Changes from 1 commit
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Failed to load files.
PrevPrevious commit
Gits action file added
  • Loading branch information
@VinothKumar-Ganesan
VinothKumar-Ganesan committedFeb 6, 2023
commit 3aef26fe1b56a938c03650c85aa7b45f4906cd10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
name: Secret Value found!
on:
push:
public:
jobs:
scan:
name: gits
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install the gits
run: wget https://.com/zricethezav/gits/releases/download/v8.15.2/gits_8.15.2_linux_x64.tar.gz
shell: pwsh
- name: Extract the tar file
run: tar xzvf gits_8.15.2_linux_x64.tar.gz
- name: Generate the report
id: gits
run: $_WORKSPACE/gits detect -s $_WORKSPACE -f json -r $_WORKSPACE/sreport.json
shell: bash
continue-on-error: true
- name: Setup NuGet.exe
if: steps.gits.outcome != 'success'
uses: nuget/setup-nuget@v1
with:
nuget-version: latest
- name: Install the dotnet
if: steps.gits.outcome != 'success'
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
- name: Install the report tool packages
if: steps.gits.outcome != 'success'
run: |
nuget install "Syncfusion.Email" -source "https://nexus.syncfusion.com/repository/nuget-hosted/"
dir $_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1
dotnet $_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1/Email.dll "[email protected]" "$_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$_WORKSPACE"
exit 1