Skip to content

Commit cd5b383

Browse files
SCAL-304607 chnaged the logic to schedule and manula run
1 parent 4d822be commit cd5b383

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/auto-docgen.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: Auto Documentation Generation
22

33
on:
4-
pull_request:
5-
branches: [main]
6-
types: [closed]
7-
paths-ignore:
8-
- 'static/typedoc/typedoc.json'
4+
schedule:
5+
# '30 8' = 08:30 UTC | '*' = every day/month | '1' = Monday
6+
- cron: '30 8 * * 1'
7+
workflow_dispatch: # Allows you to trigger it manually via the Actions tab
98

109
# Added permissions to allow the bot to push code
1110
permissions:
@@ -14,7 +13,6 @@ permissions:
1413
jobs:
1514
docgen:
1615
runs-on: ubuntu-latest
17-
if: github.event.pull_request.merged == true
1816

1917
steps:
2018
- name: Checkout code

0 commit comments

Comments
 (0)