We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4d76d commit eac72a3Copy full SHA for eac72a3
.github/workflows/codeql.yml
@@ -0,0 +1,23 @@
1
+name: CodeQL Advanced
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ branch:
7
+ description: "Branch to run the workflow on"
8
+ required: true
9
+ default: "main"
10
+ type: string
11
+jobs:
12
+ analyze:
13
+ runs-on: ubuntu-latest
14
+ if: ${{ !github.event.pull_request.draft }}
15
+ permissions:
16
+ contents: write
17
+ pull-requests: write
18
+ steps:
19
+ - name: Checkout repository
20
+ uses: actions/checkout@v4
21
+ with:
22
+ ref: ${{ github.event.inputs.branch || github.event.pull_request.head.ref || github.ref }}
23
+ token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments