[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
on:
workflow_dispatch:
branches: [ master, stable* ]
pull_request_target:
branches: [ master, stable* ]

View File

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

View File

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