message: chore: Update OSSAR workflow
diff: @@ -5,7 +5,12 @@ name: OSSAR
  on:
  push:
  + branches: [ master ]
  pull_request:
  + # The branches below must be a subset of the branches above
  + branches: [ master ]
  + schedule:
  + - cron: '38 4 * * 1'
  jobs:
  OSSAR-Scan:
  @@ -14,18 +19,8 @@ jobs:
  runs-on: windows-latest
  steps:
  - # Checkout your code repository to scan
  - name: Checkout repository
  uses: actions/checkout@v2
  - with:
  - # We must fetch at least the immediate parents so that if this is
  - # a pull request then we can checkout the head.
  - fetch-depth: 2
  -
  - # If this run was triggered by a pull request event, then checkout
  - # the head of the pull request instead of the merge commit.
  - - run: git checkout HEAD^2
  - if: ${{ github.event_name == 'pull_request' }}
  # Ensure a compatible version of dotnet is installed.
  # The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.
  