Skip to content

Commit 3c51196

Browse files
🔧 fix cron and allow manual restart (#337)
1 parent 901f6bb commit 3c51196

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/_codeql.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ on:
1818
permissions:
1919
actions: read
2020
contents: read
21-
security-events: write
2221

2322
jobs:
2423
analyze:

.github/workflows/cron.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Crontab
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '33 0 * * *'
67

@@ -11,6 +12,8 @@ permissions:
1112
jobs:
1213
codeql:
1314
uses: mindee/mindee-api-java/.github/workflows/_codeql.yml@main
15+
permissions:
16+
security-events: write
1417
test_code_samples:
1518
uses: mindee/mindee-api-java/.github/workflows/_test-code-samples.yml@main
1619
secrets: inherit

0 commit comments

Comments
 (0)