Skip to content

Commit 5f74e76

Browse files
committed
Improve workflows.
1 parent 0f744f3 commit 5f74e76

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/buld-and-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build & test
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
permissions:
6+
contents: read
47

58
jobs:
69
build-and-test:

.github/workflows/codeql.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
schedule:
99
- cron: '29 2 * * 0'
1010

11+
permissions:
12+
security-events: write
13+
packages: read
14+
actions: read
15+
contents: read
16+
1117
jobs:
1218
analyze:
1319
uses: przemek83/workflows/.github/workflows/codeql-qt.yml@main

.github/workflows/static-analysis-and-coverage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Static analysis and coverage
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
permissions:
6+
contents: read
47

58
jobs:
69
analyze:

0 commit comments

Comments
 (0)