Add retries when running git fetch #4327
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MSDO | |
on: | |
push: | |
branches: [ "main", "releases/*" ] | |
pull_request: | |
branches: [ "main", "releases/*" ] | |
permissions: read-all | |
jobs: | |
MSDO: | |
name: Run Microsoft Security DevOps Analysis | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # This is required for federation to Defender for DevOps | |
security-events: write # This is required to upload SARIF files | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run Credential Scanning | |
uses: microsoft/security-devops-action@08976cb623803b1b36d7112d4ff9f59eae704de0 # v1.12.0 | |
id: credscan | |
with: | |
policy: Microsoft | |
tools: credscan | |
- name: Upload results to Security tab | |
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5 | |
with: | |
sarif_file: ${{ steps.credscan.outputs.sarifFile }} |