Microsoft Security DevOps #758
This file contains hidden or 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: Microsoft Security DevOps | |
| on: | |
| push: | |
| paths-ignore: | |
| - "*" | |
| - "*/**" | |
| - "!electron-app/icons/**" | |
| - "!electron-app/icons" | |
| - "!electron-app/**" | |
| - "!electron-app" | |
| - "**/CHANGELOG.md" | |
| - "CHANGELOG.md" | |
| pull_request: | |
| paths-ignore: | |
| - "*" | |
| - "*/**" | |
| - "!electron-app/icons/**" | |
| - "!electron-app/icons" | |
| - "!electron-app/**" | |
| - "!electron-app" | |
| - "**/CHANGELOG.md" | |
| - "CHANGELOG.md" | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "23 9 * * *" # Every day at 9:23 AM UTC | |
| permissions: | |
| security-events: write | |
| concurrency: | |
| group: msdo-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| msdo: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Run Microsoft Security DevOps | |
| uses: microsoft/security-devops-action@d0736c546281e0632667b8e0046ae3d7bba0bf67 # latest | |
| id: msdo | |
| - name: Upload results to Security tab | |
| uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v3.29.5 | |
| with: | |
| sarif_file: ${{ steps.msdo.outputs.sarifFile }} |