[ci] add workflow_dispatch to all

* Add an option to manually trigger a run of the workflow
* Trigger all on pull_request_target (less error prone, does not execute
  code from pull request but base branch)
* Remove scheduled run from CodeQL
This commit is contained in:
akallabeth 2024-02-09 08:12:54 +01:00 committed by akallabeth
parent 8ba27a7992
commit 93649f62cd
3 changed files with 8 additions and 10 deletions

View File

@ -1,5 +1,7 @@
name: clang-tidy-review name: clang-tidy-review
on: on:
workflow_dispatch:
branches: [ master, stable* ]
pull_request_target: pull_request_target:
branches: [ master, stable* ] branches: [ master, stable* ]

View File

@ -12,13 +12,10 @@
name: "CodeQL" name: "CodeQL"
on: on:
push: workflow_dispatch:
branches: [ master, stable* ] branches: [ master, stable* ]
pull_request: pull_request_target:
# The branches below must be a subset of the branches above
branches: [ master, stable* ] branches: [ master, stable* ]
schedule:
- cron: '30 8 * * 6'
permissions: permissions:
contents: read contents: read

View File

@ -1,11 +1,10 @@
name: Fuzzing testing name: Fuzzing testing
on: on:
push: workflow_dispatch:
branches: branches: [ master, stable* ]
- 'master' pull_request_target:
pull_request: branches: [ master, stable* ]
types: [opened, reopened, synchronize, labeled]
jobs: jobs:
fuzzing: fuzzing: