Skip to content

Commit 9dae02f

Browse files
committed
build: run workflows on a schedule instead of due to merged PRs
1 parent 1c46d43 commit 9dae02f

File tree

4 files changed

+15
-33
lines changed

4 files changed

+15
-33
lines changed

.github/workflows/markdown_equations.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,12 @@ name: markdown_equations
2121

2222
# Workflow triggers:
2323
on:
24-
pull_request_target:
25-
branches:
26-
- develop
27-
types:
28-
- closed
29-
paths:
30-
# List paths for which changes should trigger this workflow:
31-
- 'lib/**/*.md'
24+
schedule:
25+
# Run the workflow once a day at 2:00 AM UTC:
26+
- cron: '0 2 * * *'
27+
28+
# Allow the workflow to be manually run:
29+
workflow_dispatch:
3230

3331
# Global permissions:
3432
permissions:

.github/workflows/markdown_tocs.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ name: markdown_tocs
2121

2222
# Workflow triggers:
2323
on:
24-
pull_request_target:
25-
branches:
26-
- develop
27-
types:
28-
- closed
24+
schedule:
25+
# Run the workflow once a day at 2:00 AM UTC:
26+
- cron: '0 2 * * *'
2927

3028
# Allow the workflow to be manually run:
3129
workflow_dispatch:

.github/workflows/namespace_declarations.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@ name: namespace_declarations
2121

2222
# Workflow triggers:
2323
on:
24-
pull_request_target:
25-
branches:
26-
- develop
27-
types:
28-
- closed
29-
paths:
30-
# List paths for which changes should trigger this workflow:
31-
- 'lib/**/types/index.d.ts'
24+
schedule:
25+
# Run the workflow once a day at 2:00 AM UTC:
26+
- cron: '0 2 * * *'
3227

3328
# Allow the workflow to be manually run:
3429
workflow_dispatch:

.github/workflows/update_repl_docs.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,9 @@ name: update_repl_docs
2121

2222
# Workflow triggers:
2323
on:
24-
pull_request_target:
25-
branches:
26-
- develop
27-
types:
28-
- closed
29-
paths:
30-
# List paths for which changes should trigger this workflow:
31-
- 'lib/**/namespace/lib/**'
32-
- 'lib/**/docs/repl.txt'
33-
34-
# List paths for which changes should *not* trigger this workflow:
35-
- '!lib/**/_tools/**'
24+
schedule:
25+
# Run the workflow once a day at 2:00 AM UTC:
26+
- cron: '0 2 * * *'
3627

3728
# Allow the workflow to be manually run:
3829
workflow_dispatch:

0 commit comments

Comments
 (0)