Skip to content

Commit

Permalink
SRE-952 Excluding internal actions
Browse files Browse the repository at this point in the history
  • Loading branch information
syahmi001 committed Dec 6, 2023
1 parent c5a041f commit 6605c7f
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/codeql-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,23 @@ jobs:
with:
category: "${{ matrix.language }}/branch:${{ github.head_ref || github.ref_name }}"

- name: Generate Code Security Report
if: ${{ github.event_name != 'pull_request' }}
uses: kfit-dev/github-security-report-action@main
with:
token: ${{ secrets.TOKEN_GITHUB_ACTIONS }}
template: report
# Disabling this option since Github Action has bug of not being able to pull internal github action plugins
# if the repository that uses the plugins are made public

# - name: Generate Code Security Report
# if: ${{ github.event_name != 'pull_request' }}
# uses: kfit-dev/github-security-report-action@main
# with:
# token: ${{ secrets.TOKEN_GITHUB_ACTIONS }}
# template: report

- name: Upload Code Security Report to Google Drive
if: ${{ github.event_name != 'pull_request' }}
uses: kfit-dev/google-drive-upload-action@main
with:
target: report.pdf
credentials: ${{ secrets.GOOGLE_DRIVE_CREDS }}
parent_folder_id: 1RAcNjaHnxZrkMMlEMnZtaR5GTcQGNElr
name: ${{ github.repository }}-${{ matrix.language }}-${{ env.date_time }}.pdf
child_folder: ${{ env.date }}
# - name: Upload Code Security Report to Google Drive
# if: ${{ github.event_name != 'pull_request' }}
# uses: kfit-dev/google-drive-upload-action@main
# with:
# target: report.pdf
# credentials: ${{ secrets.GOOGLE_DRIVE_CREDS }}
# parent_folder_id: 1RAcNjaHnxZrkMMlEMnZtaR5GTcQGNElr
# name: ${{ github.repository }}-${{ matrix.language }}-${{ env.date_time }}.pdf
# child_folder: ${{ env.date }}

0 comments on commit 6605c7f

Please sign in to comment.