Skip to content

Commit e96ea6a

Browse files
committed
Update CodeQL
1 parent 51f2324 commit e96ea6a

2 files changed

Lines changed: 7 additions & 39 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ name: "CodeQL"
1414
on:
1515
push:
1616
branches: [ "main" ]
17-
workflow_dispatch:
18-
inputs:
19-
pr_branch:
20-
description: 'Branch to run CI on'
21-
required: true
17+
pull_request:
18+
branches: [ "main" ]
19+
types: [opened, synchronize, reopened, labeled, unlabeled, edited]
2220
schedule:
2321
- cron: '31 18 * * 1'
2422

2523
jobs:
24+
if: |
25+
contains(github.event.pull_request.title, '[run ci]') ||
26+
contains(github.event.pull_request.body, '[run ci]') ||
27+
contains(join(github.event.pull_request.labels.*.name), 'run-ci')
2628
analyze:
2729
name: Analyze
2830
runs-on: ubuntu-latest

.github/workflows/comment-trigger.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)