Update codeql.yml

- Add workflow_dispatch to run this workflow manually
- Add cleanup step
This commit is contained in:
isaak654 2023-07-12 18:41:49 +02:00
parent ea8abbed9d
commit e838321f73
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
name: "CodeQL"
on:
workflow_dispatch:
push:
branches: [ 'master' ]
paths:
@ -38,6 +39,10 @@ jobs:
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Cleanup build folder
run: |
rm -r -Force ${{ github.workspace }}\*
- name: Checkout repository
uses: actions/checkout@v3