label images more #6
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
{ | |
"jobs": { | |
"analyse": { | |
"permissions": { | |
"actions": "read", | |
"contents": "read", | |
"security-events": "write" | |
}, | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ | |
"name": "Cancel previous runs", | |
"uses": "styfle/[email protected]", | |
"with": { | |
"access_token": "${{ github.token }}", | |
"all_but_latest": true | |
} | |
}, | |
{ | |
"uses": "actions/[email protected]" | |
}, | |
{ | |
"run": "(git gc --quiet || :)" | |
}, | |
{ | |
"name": "Initialise CodeQL", | |
"uses": "github/codeql-action/init@v3", | |
"with": { | |
"languages": "cpp" | |
} | |
}, | |
{ | |
"run": "cd src && exec make" | |
}, | |
{ | |
"name": "Perform CodeQL Analysis", | |
"uses": "github/codeql-action/analyze@v3" | |
} | |
], | |
"strategy": { | |
"fail-fast": true | |
} | |
} | |
}, | |
"name": "CodeQL", | |
"on": { | |
"push": { | |
"branches": [ | |
"master" | |
] | |
}, | |
"workflow_dispatch": null | |
} | |
} |